I am very new to php laravel. I need to populate a dropdown in php blade with certain list I send to the view and I need to bind the selected value with a certain php variable.
My code:
<div class="dropdown" id="managerDropdown">
{{ Form::select($row->manager_id,Manager::getSelectOptions(),$row->manager_id) }}
</div>
I'm not understanding how do I bind my "$row->manager_id" with this drop down, so that when I submit, "$row->manager->id" will have selected records id(value).