Steps to reproduce
Check the A checkbox — isDirty becomes true.
Uncheck the A checkbox (returning it to its initial state).
Observe that isDirty is still true.
Also try checking the D checkbox and observe how isDirty changes.
Expected behavior
If a field is changed and then reverted back to its initial value, isDirty should return to false.
Actual behavior
isDirty remains true even after reverting the checkbox to its initial state.
Reproduction
StackBlitz reproduction:
👉 here
Steps to reproduce
Check the
Acheckbox —isDirtybecomes true.Uncheck the
Acheckbox (returning it to its initial state).Observe that
isDirtyis still true.Also try checking the
Dcheckbox and observe howisDirtychanges.Expected behavior
If a field is changed and then reverted back to its initial value,
isDirtyshould return to false.Actual behavior
isDirtyremains true even after reverting the checkbox to its initial state.Reproduction
StackBlitz reproduction:
👉 here