Unmounting and Mounting of fields with useFieldArray
is not working as expected
#4115
Closed
2 of 5 tasks
Labels
🐛 bug
Unintended behavior
What happened?
When I list multiple items using
useFieldArray
and they are unmounted and then mounted back, the last items is visible again. I would expect the array to be empty again because of defaultkeepValueOnUnmount = false
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://codesandbox.io/s/vee-validate-array-fields-forked-1gq0k7
Code of Conduct
The text was updated successfully, but these errors were encountered: