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

bug with 'disabled' style,click event still be used?? #835

Closed
fionagithub opened this issue Aug 25, 2017 · 1 comment
Closed

bug with 'disabled' style,click event still be used?? #835

fionagithub opened this issue Aug 25, 2017 · 1 comment

Comments

@fionagithub
Copy link

with vuelidate ,i set button ,and validate if this is disabled or not
code:
<button @click="add()" :class="{'disabled':$v.$dirty&&$v.$error }">add</button>
but when i change the code like below , it was fine,and for why?
code:
<button@click="add()" :disabled="$v.$dirty&&$v.$error">add</button>

@rstoenescu
Copy link
Member

Please upgrade to Quasar v0.14.x, where the "disabled" prop solves your problem. Thanks.

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

No branches or pull requests

2 participants