Toggle getting changed unintentionally #4206
Replies: 1 comment
-
Okay, I blame horrible state management on our part for it |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So I have a toggle button, basically it is q-toggle from quasar, there is a useForm on a form wrapping it and a useField for the toggle with a name attribute.
When I resetForm with initial values of my choosing, the initalValue of the toggle is true, but the current value is false, it is also dirty and valid but not touched? I am very confused how this happens without me doing anything.
Is there a way to find the source of the change?
It seems that the change of values from resetForm does not propagate through template props like v-model.
Beta Was this translation helpful? Give feedback.
All reactions