I need a popular select on form with values from another table. Type:
<select>
<option value="29">Frentista</option>
</select>
I wrote my select like this:
{{ Form::select('set_id_fk', $setores, null, ['class'=>'form-control input-lg']) }}
But in the view it looks like this:
{"set_id": 29, "set_nome": "Frentista"}
I'm using "laravelcollective/html": "^5.3.0"
in my project.
Can anyone help me?