-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Toggle button stuck on switch #130
Comments
Hey, Which in your case is just "false" and thats why nothing really happens when you click the button Here is an exmaple
|
Hi. I mention that because in the Readme file the example is wrong, and I agree with you. But in the past I used the code wrong and it works very well. After the update 1.3.3, that bug was fixed and if you still use the example code, the one with :value="false" and :sync="true" your buttons will go crazy. |
Hello. After last update (1.3.3) if you have an code like in the example your button will be stuck. As i can see,it is because on (value) property there is no variable to watch and is a boolean value. Maybe someone have the same issue like me after update. I remove the (sync) property for this case and everything is working fine right now.
<toggle-button :value="false" color="#82C7EB" :sync="true" :labels="true"/>
The text was updated successfully, but these errors were encountered: