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
I did not provide a particular field in defaultValues but I registered that field in the form. The form is always dirty (form.formState.isDirty=true), even though there are no dirty fields (form.formState.dirtyFields={}). This happens regardless of shouldUnregister being true of false. Curiously, I can't reset the form then, and that fields value is always set to undefined.
The text was updated successfully, but these errors were encountered:
I did not provide a particular field in
defaultValues
but I registered that field in the form. The form is always dirty (form.formState.isDirty=true
), even though there are no dirty fields (form.formState.dirtyFields={}
). This happens regardless ofshouldUnregister
being true of false. Curiously, I can't reset the form then, and that fields value is always set toundefined
.The text was updated successfully, but these errors were encountered: