Ask, reply and learn. Join the community of Akaunting.
How do I use the multiselect form macro??
Try the following:
{{ Form::multiSelectGroup(
'category_ids',
trans('general::category'),
'fas fa-list-ul',
$all_categories,
$selected_categories
)
}}
For the $selected_categories variable, I set a key to the values, it does not work. But when I remove the keys, it sets keys on it own then it works. Being able to set key to the values would be a great one
Showing 1 to 3 of 3 discussions