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

Fixed "All Selected" problem on non-multiselect with one option #497

Merged
merged 1 commit into from
May 25, 2015

Conversation

homeslicesolutions-zz
Copy link

There’s some situation when there are only one option and that displays
“All selected” which is only correct if the select tag is “multiple”.
In using this plugin for “single” dropdowns as well, there are
situations when there’s only one option and it shouldn’t show “All
selected”. This fixes that.

The problem:
screenshot 2015-03-13 01 06 12

The fix:
screenshot 2015-03-13 01 07 43

There’s some situation when there are only one option and that displays
“All selected” which is only correct if the select tag is “multiple”.
In using this plugin for “single” dropdowns as well, there are
situations when there’s only one option and it shouldn’t show “All
selected”. This fixes that
@ludo6577
Copy link
Contributor

I had the exactly same problem and solved it in the exact same way. You made the pull request one week before me well done !

@davidstutz davidstutz added the bug label Apr 11, 2015
@davidstutz
Copy link
Owner

Looks good, thanks!

davidstutz added a commit that referenced this pull request May 25, 2015
Fixed "All Selected" problem on non-multiselect with one option
@davidstutz davidstutz merged commit e0cb4af into davidstutz:master May 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants