issue: isDirty
is always 'true' when the reactStrictMode
property is enabled in the next.config.js
config
#11993
Replies: 2 comments 2 replies
-
are you missing supplying the
|
Beta Was this translation helpful? Give feedback.
-
Has this discussion had any progress? I'm currently facing the same problem mentioned by @kmsomebody :
I set all the default values when initialising the form. In my case I call |
Beta Was this translation helpful? Give feedback.
-
Version Number
7.51.5
Codesandbox/Expo snack
https://codesandbox.io/p/devbox/next-js-rhf-isdirty-tzqyr5?file=%2Fpages%2Findex.tsx%3A5%2C1
Steps to reproduce
isDirty
is trueExpected behaviour
I believe that it does not depend on the
reactStrictMode
property in thenext.config.js
- theisDirty
property must return the correct valueWhat 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