Multiselect dropdown / dropdown containing checkboxes

I want to do something like this:

Where a form element looks like a dropdown but behaves like a checkbox. Is there any way to do this without manually rendering the form elements?

you might be able to do it using the phalcon-jquery library:

Regards André