You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The local push method from useFieldArray on a form with resetForm applied with initial values from a Pinia Store incorrectly add the value back to the store when changed locally.
Reproduction steps
Using useForm, create a useFiledArray field
Reset the array field from a Pinia Store
Push to the field
Notice how the store is updated on the first push ❗
...
What happened?
The local
push
method fromuseFieldArray
on a form withresetForm
applied with initial values from a Pinia Store incorrectly add the value back to the store when changed locally.Reproduction steps
...
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://stackblitz.com/edit/vitejs-vite-xkkkpv?file=src%2FApp.vue
Code of Conduct
The text was updated successfully, but these errors were encountered: