Semantic-UI icon indicating copy to clipboard operation
Semantic-UI copied to clipboard

Multiple selection dropdowns

Open azmeuk opened this issue 12 years ago • 4 comments

Hi, It would be great to have the possibility to combine dropdown menus and checkboxes and allow multiple selection dropdowns.

azmeuk avatar Dec 17 '13 14:12 azmeuk

From a visual standpoint this could be done pretty easily. Use ui simple dropdown that way it doesn't close on you when you click. Put a list of whatever ui checkboxs you want. With simple forms this would be ok, but as soon as you want to try and convert a select multiple you'll need some javascript.

Ill do some looking, and see if there is a elegant way to do this Semantic.

Unprofound avatar Dec 20 '13 18:12 Unprofound

Dropdown menus can have any arbitrary content, check how checkboxes look inside each menu item. If they look weird, we can add an 'optional coupling' inside dropdown to format a checkbox.

jlukic avatar Dec 21 '13 00:12 jlukic

I made a JS Fiddle example for people who come here from Google like I did. I think it works really nicely as an alternative to standard multi-select dropdowns and I didn't find any example in the docs so here you go: https://jsfiddle.net/jp8xj0wk/2/

mattiasflodin avatar May 20 '16 07:05 mattiasflodin

@mattiasflodin thanks for sharing mate!

vandolphreyes avatar Jul 29 '17 17:07 vandolphreyes