2
The form in the edção part, does not show the value coming from the database. All other form fields are returning the value taken in the database. See how I’m doing:
<div class="col-md-3">
{!! Form::label('departamento','Departamento', array('class' => 'control-label')) !!}
{!! Form::select('departamento',[
'null' => 'Escolha uma Opção',
'jeans' => 'Jeans', 'senhores e senhoras' => 'Senhores e Senhoras',
'grupo de Louvor' => 'Grupo de Louvor', 'kids' => 'Kids',
'geral' => 'Geral',
],null,['class' => 'form-control']) !!}
</div>
As far as I know, the option passed in the parameter of Form:() o NULL, is where the database data comes back. More is not coming back. What will pass this happening.
I solved otherwise, but I didn’t know I had a way to do this way Very good. Thanks
– Natan Melo