chosen
chosen copied to clipboard
Multiselect with shift key
The multi select should allow us to select more then items at once by holding the shift key, like the regular non enhanced version does.
Related to #21
Hi, I see that this issue has 2 years old. There was any update on this shift request?
Thanks!
Nobody has worked on it yet. However, contributions are of course welcome if you want to dedicate some time to make it happen.
By pressing CMD or CTRL you can already select multiple options.
I know, but is not the same requirement. I have a large admin system working with chosen and the client asked for this feature, he want to select one item while pressing shift and select all the item between there and the last clicked element. Like the normal multi select element.
I just forked the repo and made the changes to add this feature, I'm testing now and will make a pull request soon.
Hi - I was wondering if any other progresses were made on this? We're seriously looking into using Chosen as the core library for handling lists in our web interface at our work, but the inability to select multiple options (in a row) with shift is really making it difficult to go on ahead with Chosen.
@hongjos I think that this functionality never was merged, but if you see my commit before your comment it's working as expected.
+1 for this feature, i've many requests about this.
Also for a select all / deselect all using shift+a / esc
I'm working on a pull request right now that allows user shift click and highlight multiple. Then the second click adds the highlighted items. Has a pull request for this type of thing been submitted? Is there even a possibility of this functionality being pulled in?
Has a pull request for this type of thing been submitted?
Yup, there's one at https://github.com/harvesthq/chosen/pull/1563
be aware, my PR for adding multiselection holding shift key is from 2013, I had rebased the code and updated it last week so it's ok to merge but I don't think that this will happen any time soon. This issue is from 2011 and there are other issues asking the same thing. Feel free to improve the PR if you want.
+1 for this feature
+1 also for this