I have an array that contains ids of selected options in select list (html). In Laravel it looks as:
<?=Form::select('type_work[]', array(1, 2), array(1, 2), array());?>
Where second parameter is incoming data to build options, and third parameter is array of selected options (id).
Why it does not work in Laravel?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2OkuKc7
via IFTTT
Aucun commentaire:
Enregistrer un commentaire