You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, toggle first changes it state upon click and then onChange event on checkbox input is invoked.
Proposed solution
Bind the state of toggle to the state of checkbox.
Do not assume that state will be changed (since it can be prevented in onChange event handler or in other ways). Update the toggle state upon checkbox state has been updated.
The text was updated successfully, but these errors were encountered:
Note
Possible duplicate of #111.
Problem
If you open http://www.bootstraptoggle.com/, fire up devtools console and run (checkbox is on, toggle is on):
or:
toggle doesn't get updated.
Also, toggle first changes it state upon click and then onChange event on checkbox input is invoked.
Proposed solution
The text was updated successfully, but these errors were encountered: