Potential Bug with shouldDirtyConsider and a Disabled Field #739
Replies: 2 comments
-
Thanks for the PR, @ericsakmar! I am happy with the changes you made. But I would like to learn more about your usecase first before I have it merged. The issue you had with |
Beta Was this translation helpful? Give feedback.
-
Yes, the |
Beta Was this translation helpful? Give feedback.
-
Describe the bug and the expected behavior
Hello! It seems that
shouldDirtyConsider
is not being correctly applied when a field has been disabled.I've pasted a Stackblitz below to show the problem.
form.dirty
is immediatelytrue
even though nothing else has changed and theshouldDirtyConsider
is set to returntrue
for any field other thanemail
.Thanks for reading!
Conform version
v1.1.5
Steps to Reproduce the Bug or Issue
Stackblitz
What browsers are you seeing the problem on?
No response
Screenshots or Videos
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions