how to get multiple check boxes in select dropdown list

i want to get multiple checkboxes in select drop down list using volt and phalcon.. how to do it? Please help?



64.0k
edited Oct '16

easiest way would be to use some jquery plugin. You can google it. Because in option tag, you cant put inputs.

As for volt simply check the docs. Its quite easy https://docs.phalconphp.com/uk/latest/reference/volt.html

For admin areas I've always used Jquery Chosen plugin, it turns Multiple select into autocomplete control with multiple options. It is really handy when you have let us say 100+ options, as it's easier to search rather than scanning chekboxes.

https://harvesthq.github.io/chosen/