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

Debounce doesn't debounce validation with ValidationProvider, it just delays it #1846

Closed
jes490 opened this issue Feb 8, 2019 · 3 comments · Fixed by #1852
Closed

Debounce doesn't debounce validation with ValidationProvider, it just delays it #1846

jes490 opened this issue Feb 8, 2019 · 3 comments · Fixed by #1852
Labels
🐛 bug Unintended behavior

Comments

@jes490
Copy link
Contributor

jes490 commented Feb 8, 2019

Versions

  • vee-validate: 2.1.6
  • vue: 2.5.21

Debounce is not working correctly when using as prop on ValidationProvider with custom rule

Demo link
https://jsfiddle.net/hs6vk24b/

To reproduce
Just type in input and you'll see that after 2 seconds all of the debounced handlers will be fired

@Dylan-Chapman
Copy link
Contributor

Ran into this also after I discovered my fields that interact with an API were suddenly firing way too many calls after switching from the v-validate directive to the ValidationProvider component.

Using Vue 2.6.4 and vee-validate 2.1.7

@DM2489
Copy link
Contributor

DM2489 commented Feb 12, 2019

Yep, I'm seeing this one as well.

@aligajani
Copy link

How come debounce isn't documented in the guide?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants