Skip to content

Commit

Permalink
Merge pull request #7553 from afilp/patch-36
Browse files Browse the repository at this point in the history
Also use isSubmitted in touched prop
  • Loading branch information
djhi authored Apr 15, 2022
2 parents fd68109 + 2f398fe commit 621ab03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const NullableBooleanInput = (props: NullableBooleanInputProps) => {
error={(isTouched || isSubmitted) && invalid}
helperText={
<InputHelperText
touched={isTouched}
touched={isTouched || isSubmitted}
error={error?.message}
helperText={helperText}
/>
Expand Down

0 comments on commit 621ab03

Please sign in to comment.