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
In this case, I am trying to disable the submit button, when values are didn't change at all. But I get always meta.dirty value as true
I think useForm considers initialValues as "updated values". But if we will think from UX side, it seems should be false, when you give initial values. And only set to true, when initial values are changed.
What happened?
For example, I have this form:
In this case, I am trying to disable the submit button, when values are didn't change at all. But I get always
meta.dirty
value astrue
I think useForm considers initialValues as "updated values". But if we will think from UX side, it seems should be
false
, when you give initial values. And only set totrue
, when initial values are changed.Reproduction steps
useForm()
composable.initialValues
parametermeta.dirty
value astrue
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
I can't. But I think I explained well
Code of Conduct
The text was updated successfully, but these errors were encountered: