vendredi 29 juin 2018

Laravel Multi Select with DB Array

Guide me the right way to do a multi select Vales in form Edit.

I am storing the values of size like this in serialize array.

 @foreach($sizes as $size)
   <option value=""></option>
 @endforeach

Now in edit i want to show the selected values with this sizes also, i tired in array + ternary operator but failed to do it here is what i am trying

@foreach($sizes as $size)

<option value=" "></option>

@endforeach



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire