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 when using delay with validator.reset() #1641

Closed
filipsobol opened this issue Oct 9, 2018 · 2 comments
Closed

Bug when using delay with validator.reset() #1641

filipsobol opened this issue Oct 9, 2018 · 2 comments

Comments

@filipsobol
Copy link

filipsobol commented Oct 9, 2018

Versions

  • vee-validate: 2.1.0-beta.9
  • vue: 2.5.17

Validation stops working after validator.reset() is called and "delay" configuration is used.

To Reproduce
Steps to reproduce the behavior:

  1. Go to jsfiddle.
  2. Select first field and tab through all fields, but leave them empty.
  3. Error under each field will show up.
  4. Click on "Reset" button.
  5. Repeat step 2.
  6. Validation will not work.
  7. Remove "delay" configuration and repeat above steps to make validation work again.

Expected behavior
Validation should still work after validator.reset() is called.

Demo Link
jsfiddle

@filipsobol filipsobol changed the title Bug when using delay and validator.reset() Bug when using delay with validator.reset() Oct 10, 2018
@logaretm
Copy link
Owner

I tested this with the current master branch build, and it seems to work fine. Will re-open if this is not the case.

@YuzhiZhang
Copy link

Setting delay have same problem with the vee-validate: 2.1.0-beta.11 when i using validator.reset() in the deactivated() function

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

3 participants