Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instead of blocking further selection unselect previoulsy selected item #57

Open
AntonFetzer opened this issue Sep 15, 2017 · 5 comments

Comments

@AntonFetzer
Copy link

In my new website, I make extensive use of this very useful multi select script.
But I have several selectors, where you can only have one selected option at a time.
When I deployed my new website, the feedback I got most often was, that it is inconvenient to have to manually unselect the previously selected item, in order change the selection to another one.
Would it be possible to have an option for this case, where the previously selected item is simply replaced by the newly selected item?
But anyway, thanks for providing this very useful feature set!

@AntonFetzer AntonFetzer changed the title Selection limit instead of blocking further selection unselect previoulsy selected item Instead of blocking further selection unselect previoulsy selected item Sep 15, 2017
@bentorfs
Copy link
Owner

bentorfs commented Sep 18, 2017 via email

@AntonFetzer
Copy link
Author

No, I do not want a suggestion box.
I really like the design of your drop-down menus, but sometimes it does not make sense to have more than one selected object at a time.
I and several of my users would appreciate it, if clicking on another object in the dropdown would automatically unselect the previously selected item and select the clicked item.
It would make the workflow even smoother, if the drop-down would open automatically, if you just point the mouse on it without having to click every time to do that.

@AntonFetzer
Copy link
Author

Also, what is a PR ?

@bentorfs
Copy link
Owner

bentorfs commented Sep 18, 2017 via email

@AntonFetzer
Copy link
Author

Ok, I managed to modify your code, but I still do not understand how Git works.
So this is the code, which contains the features I described above:

dropdown.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants