-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Validating a non-existant field after a router push #709
Comments
I just setup an example with it Vue router and it seems working properly: https://jsfiddle.net/logaretm/8bbguLtc/ It would be helpful if you can recreate the issue in a fiddle. |
Thanks for your answer. I have made a fiddle to reproduce the error: https://jsfiddle.net/9a0ejmvx/1/. Edit: actually it seems to have a conflict between the |
I see, you would need to navigate after the delay: https://jsfiddle.net/logaretm/9a0ejmvx/3/ I will try to take a look if this can be improved or avoided by canceling ongoing validations. |
Actually, it still happens when we press the "enter" key. But not when we click the button. I guess this is because when we push the "enter" key a field is still focused. |
It has been resolved, should be up with the next release. |
Versions:
Description:
I have this error:
[vee-validate] Validating a non-existant field: "#_bjyogp74h". Use "attach()" first.
when I redirect users to another view.Steps To Reproduce:
this.$router.push()
In my case, I want to redirect users to the sign in page once they registered:
The parent scope has this line:
The text was updated successfully, but these errors were encountered: