Watch triggered recursively (Help requried) #376
Closed
IAmShafqatAli
started this conversation in
General
Replies: 1 comment
-
I have forgot to mention that the issue is fixed by using flush: 'post' inside watch.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am facing the issue with currency input, I have two sections in my component,
Table is filled with array data, when I click edit button v-model is being filled to show the selected row data inside form.
But throws console the error " Maximum recursive updates exceeded in component. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function."
Form component has following code
Code to fill formData on clicking edit button
Anything that I am missing
currency-input component has following code
I still cannot figure out why watch inside currency input is being triggered multiple times. I would really appreciate if you anyone can guide me with this issue,
Beta Was this translation helpful? Give feedback.
All reactions