Skip to content

isDirty remains true after reverting checkbox to initial state #50

@scythewyvern

Description

@scythewyvern

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions