Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Vue/blade support

Scalla   ( User )

Commented 4 years ago

How do I use the multiselect form macro??

Denis Dulici   ( Admin )

Commented 4 years ago

Try the following:

{{ Form::multiSelectGroup(
'category_ids',
trans('general::category'),
'fas fa-list-ul',
$all_categories,
$selected_categories
)
}}

Scalla   ( User )

Commented 4 years ago

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

Please login or register to leave a response.

Showing 1 to 3 of 3 discussions