Sorry if the title is misleading...
I have the following to create a select box using the laravel Form facade:
{{ Form::select('category_select', $categories_select, null, array('class' => 'selectpicker show-tick', 'data-live-search' => 'true', 'id' => 'category_select')) }}
Now $catgories_select
is a pluck()
of id and name.
I want to do the same for another select (Tax rules) but there I want to have it like the following:
<option value="id">$value1 ($value2)</option>
How can I do this?