Replies: 4 comments
-
@bluebill1049 this is a legit issue, why move it to discussions? |
Beta Was this translation helpful? Give feedback.
0 replies
-
bump |
Beta Was this translation helpful? Give feedback.
0 replies
-
bump |
Beta Was this translation helpful? Give feedback.
0 replies
-
@bluebill1049 Hello any update? I realized the issue is related with the var isEmptyResetValues because I have been using form.reset(undefined) as you suggested me some time ago, so isEmptyObject(formValues) is false |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Version Number
7.52.1
Codesandbox/Expo snack
sandbox link
Steps to reproduce
Expected behaviour
I expect the form to not be dirty since state is the same.
NOTE: If I use
setValue("example", [], { shouldDirty: true });
it will work as expected and not flag it as dirty
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions