-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
setState unable #502
Comments
+1 on this, 'setState' causes the error described, but using 'state' to change the state (which isn't in the documentation from what I can see) works fine. |
I'm totally confirming this issue as well. |
Which version are you using? AFAIK, setState and setDisabled are for V2 and don't exist in the current V3 version. |
Right, I'm using v3.3.2. |
+1 |
use:
$('#disable-switch').bootstrapSwitch('setState', false); // true || false
error:
but use:
$('#disable-switch').bootstrapSwitch('state', false);
it is right.
The text was updated successfully, but these errors were encountered: