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

Fix issue 486: Update mixed state on change #491

Merged
merged 1 commit into from
Oct 27, 2017

Conversation

gerardkcohen
Copy link
Contributor

@gerardkcohen gerardkcohen commented Oct 23, 2017

Fix issue #486.

The selected state of each individual checkbox was only recorded on click of that individual checkbox. In order to properly track the state of all the checkboxes a routine is added to update the state of all controlled checkboxes when the master is set to mixed state, which happens every time a change occurs in the controlled checkboxes.

I would have preferred a cleaner approach where the controller stored the mixed states, but did not want to be too destructive with my changes.

cc: @mcking65

@mcking65
Copy link
Contributor

Yay, works excellently!! Thank you @gerardkcohen!

@mcking65 mcking65 merged commit ca272bf into w3c:master Oct 27, 2017
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

Successfully merging this pull request may close these issues.

2 participants