issue: isDirty is updated to true only after entering the second digit #11013
Unanswered
PantherX99
asked this question in
Q&A
Replies: 2 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
-
Possible solution: |
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.
-
Version Number
7.47.0
Codesandbox/Expo snack
https://codesandbox.io/s/jolly-fast-74r8mf
Steps to reproduce
Maybe I'm just blind and can't find my error but the behavior seems a bit odd to me.
Expected behaviour
After the first digit is entered, isDirty should already be true.
In a larger component, the form also causes a re-render only after the first digit is entered. After that, it doesn't. It also causes a re-render when changing the date (not time) in one of the date pickers. Maybe this is related to that.
What browsers are you seeing the problem on?
Chrome, Safari
Relevant log output
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions