Closed fbc closed 4 years ago
Would it be possible to do something like this? ->options($contractors, 'id', 'name'.'-'.'company_name')
How would you accomplish a dropdown list with multiple descriptions/labels?
Yes, you just have to format your $contractors collection or array before you pass it to the select component.
$contractors
select
Would it be possible to do something like this? ->options($contractors, 'id', 'name'.'-'.'company_name')
How would you accomplish a dropdown list with multiple descriptions/labels?