Skip to content

Commit

Permalink
馃悶 fix #11773 regression on dirty check with reset (#11775)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebill1049 committed Apr 11, 2024
1 parent 306627e commit ca78e72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/logic/createFormControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@ export function createFormControl<
};

const onChange: ChangeHandler = async (event) => {
_state.mount = true;
const target = event.target;
let name = target.name as string;
let isFieldValueUpdated = true;
Expand Down

0 comments on commit ca78e72

Please sign in to comment.