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
When I try to use useField with complex data types such as arrays or objects, update:modelValue is not emitted when pushing or changing key values. I use syncVModel, and works as expected with textFields, but not with arrays.
Is this the expected behaviour with complex data types and useField or am I doing something wrong? Thanks in advance.
Reproduction steps
Add a component with a complex data type v-model
Configure useField with syncVModel, initialValues...
What happened?
When I try to use useField with complex data types such as arrays or objects, update:modelValue is not emitted when pushing or changing key values. I use syncVModel, and works as expected with textFields, but not with arrays.
Is this the expected behaviour with complex data types and useField or am I doing something wrong? Thanks in advance.
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/github-bjpbj3du?file=src%2Fcomponents%2FHelloWorld.vue
Code of Conduct
The text was updated successfully, but these errors were encountered: