Skip to content

Commit

Permalink
馃悶 fix #10064 native validation when subscribe to isValid (#10072)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebill1049 committed Mar 9, 2023
1 parent fc5e953 commit 7ca5248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logic/createFormControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ export function createFormControl<
field,
_formValues,
shouldDisplayAllAssociatedErrors,
_options.shouldUseNativeValidation,
_options.shouldUseNativeValidation && !shouldOnlyCheckValid,
isFieldArrayRoot,
);

Expand Down

0 comments on commit 7ca5248

Please sign in to comment.