-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Hot reload will cause Maximum recursive updates exceeded in <Form> #4119
Comments
I have also faced this issue. |
Still having this issue |
using |
yes I have the same issue. Will try to use "useForm" to fix it |
using useForm solve the problem |
Does this happen with vite, vue and vee-validate all upgraded to latest versions? AFAIK it seems to happen with Webpack configurations on some versions of vue/vee-validate which may be a bug with the HMR with that setup and not with vee-validate itself. P.S: I downloaded the example and it does not happen with vee-validate@4.9+ and vue3.2+ and does not happen with vite at all, the project setup is too old for me to investigate and support. Closing until proof it happens on current releases and new ecosystem recommendations, especially since there is a workaround. |
What happened?
If we place
Field
component in another component and use it in theForm
, then after hot reload there will be an error.(It will cause Maximum recursive updates exceeded in component)
Reproduction steps
TestField.vue
component.Version
Vue.js 3.x and vee-validate 4.x
What browsers are you seeing the problem on?
Relevant log output
No response
Demo link
https://codesandbox.io/s/vee-validate-loop-tuzlmm
Code of Conduct
The text was updated successfully, but these errors were encountered: