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 text was updated successfully, but these errors were encountered:
MRezaKarimi
changed the title
reactive initial value in useField not working
reactive initial value in useField has no effect on resetField
Jul 27, 2024
What happened?
When I pass a
ref
object as initial value inuseField
, changing the value of that object seems to have no effect onresetField
.Reproduction steps
"before change"
.initialValue
becomes"after change"
."after change"
according to new initialValue but it resets to the old value (i.e.before change
)!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/p/sandbox/new-tree-fkn9ls?file=%2Fsrc%2FApp.vue%3A7%2C40
Code of Conduct
The text was updated successfully, but these errors were encountered: