Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Component: Select Custom#7774

Closed
imaffett wants to merge 2 commits intojquery-archive:masterfrom
imaffett:master
Closed

Component: Select Custom#7774
imaffett wants to merge 2 commits intojquery-archive:masterfrom
imaffett:master

Conversation

@imaffett
Copy link

Fixes case where non-native multiple select is used and checkbox
is not un-checked when setting .prop(" selected ", false)

Closes gh-7732

Fixes case where non-native multiple select is used and checkbox
is not un-checked when setting .prop(" selected ", false)

Closes jquery-archivegh-7732
@gabrielschulhof
Copy link

@imaffett could you please add a test for this?

@imaffett
Copy link
Author

Sorry - this actually fails (it adds the checkbox). I never pushed up my second fix to my branch before the PR. Adding a test and the correct fix now.

Real fix (before I was adding the class instead of removing)

Add test case in tests/unit/select/select_core.js
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this to the next line up on same line as closing curly brace

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Select Widget - Custom select (Non-native / Multiple)

4 participants