jquery.selectBoxIt.js icon indicating copy to clipboard operation
jquery.selectBoxIt.js copied to clipboard

Multiple Selection

Open PabloReyes opened this issue 12 years ago • 19 comments

Is there any way to add support for multiple selection? This guy (http://dingyonglaw.github.com/bootstrap-multiselect-dropdown/#forms) has already implemented it and it doesn't seem very difficult.

I'm trying to find some plugin that allows images and multiple selection, but the only one I found is Select2, which is great but too complex.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/967051-multiple-selection?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github).

PabloReyes avatar Jan 03 '13 12:01 PabloReyes

@PabloReyes

Is there any way to add support for multiple selection?

In the past, I have been against adding multiple selection support (because of the added complexity), but I am beginning to change my mind since it is a consistently requested feature. I am willing to add multiple selection support in the next release if I feel comfortable with the design. I will get into that a little bit lower in this comment...

This guy (http://dingyonglaw.github.com/bootstrap-multiselect-dropdown/#forms) has already implemented it and it doesn't seem very difficult.

I personally don't like the look of a checkbox inside of each drop down option, so I would not want to implement it this way. Also, that is a very simple example, which SelectBoxIt is not.

I'm trying to find some plugin that allows images and multiple selection, but the only one I found is Select2, which is great but too complex.

Select2 uses a pillbox for it's multiple selection support (which I like), but would prefer not to implement since I feel it looks too different than the default browser multiple selection UI.

If I am going to add this feature, my preference is to create a multiple selection experience that resembles the default browser multiple selection UI. Something like this, but with easy styling and theme support for Twitter Bootstrap, jQuery UI, and jQuery Mobile stylesheets (and obviously all the other benefits you get by using SelectBoxIt).

Let me know what you think!

gfranko avatar Jan 03 '13 15:01 gfranko

The multiple attribute will be supported in SelectBoxIt v3.0.0, which is slated to be released in about a month. #91

gfranko avatar Jan 08 '13 08:01 gfranko

Hello, have you implemented this yet? I couldn't find it anywhere in latest version..

Ciki avatar Mar 18 '13 16:03 Ciki

@Ciki Unfortunately, this feature has been pushed back to SelectBoxIt v4.0.0.

gfranko avatar Mar 19 '13 20:03 gfranko

Thanks for info.. is there a roadmap for v4 or when is it planned to be released? And by the way.. thanks for this library! :-)

Ciki avatar Mar 19 '13 20:03 Ciki

The current milestone is for v4.0.0 to be released in two months. Before this feature is implemented, I would love some feedback on how you would like the multiple support to be implemented. Here are some questions:

  1. Do you want the design to be similar to how the Chosen and Select2 plugins implemented it and use pill style containers that hold all of the selected options?
  2. Do you want the design to look like a normal multiple select box?

gfranko avatar Mar 19 '13 21:03 gfranko

Are these 2 questions about the same or am I missing sth?

  1. I like the pill style
  2. I am not sure how you would like to do normal-looking multiple select & use the pill style (not saying it's not possible, I just don't get the idea)

Ciki avatar Mar 21 '13 10:03 Ciki

I like the 'Chosen' style of multi-select, and yes, I still want the select field to have a 'drop down' style.

I would want the ability to have checkboxes in the dropdown, like the jQuery UI Multiple Select widget. I don't like the way that widget handles the 'closed' state though (i.e., '2 items').

As always let me know if there is anything that I can do to help with implementation.

ronlussier avatar Mar 21 '13 13:03 ronlussier

@Ciki I was asking those questions as two different options that could be implemented. It seems like most people like the pill style implementation.

@ronlussier I'd like to have more discussions about the design of the multiple select before we actually implement it. I think a lot of people have different ideas about an ideal solution, so we may end up supporting different types of multiple "modes".

gfranko avatar Mar 21 '13 15:03 gfranko

Hi @gfranko, just wanted to check in and see if there was any progress on multi select implementation. Thanks for the great plugin!

manoj382 avatar Sep 16 '13 22:09 manoj382

@manoj382 Still a work in progress, but I promise to finish this soon.

gfranko avatar Sep 17 '13 03:09 gfranko

Hey we're using SelectBoxIt and need this functionality (with checkboxes). Have you settled on a design yet? How's it going?

yanivtal avatar Nov 12 '13 04:11 yanivtal

I agree we need multiple select.

apartamenti avatar Feb 04 '15 10:02 apartamenti

Hi. Is it feature implemented in v4.0?

JackTheHack avatar Oct 11 '15 21:10 JackTheHack

+1 for multiple select option

AlexMinaev avatar Sep 07 '16 09:09 AlexMinaev

Hi @gfranko , Is it implemented yet? Couldn't find any yet. If yes, can you share the link here. Thanks!

shr1611 avatar Oct 19 '16 10:10 shr1611

@shr1611 I've made some changes to plugin that adds multiple select but it's a little bit messy in terms of code. If you are interested you can look at https://github.com/JackTheHack/jquery.selectBoxIt.js

JackTheHack avatar Oct 19 '16 19:10 JackTheHack

Yes, can you please confirm when the multiselect function will be implemented??? Its 2017, I think its time to release it already..........zzzzzz

krystyna93 avatar Sep 24 '17 17:09 krystyna93

Just to chime in with this; The problem with the default look of multiple is its can be really ugly! It can destroy a great looking design. Example would be a single horizontal line of dropdowns similar to a menu, then it jumps with this fat drop down. Deal breaker for me, man I was really excited until I investigated this part. So back to Select2 I guess... but still looking?

maggenti avatar Feb 15 '18 00:02 maggenti