Skip to content

Commit

Permalink
fix: validationText
Browse files Browse the repository at this point in the history
  • Loading branch information
tensor5 committed Dec 21, 2023
1 parent f2f46a1 commit f172a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/form/widgets/BaseInputWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const BaseInputWidget = (props) => {
}
invalid={invalid}
validationText={
get(formState.errors, name) && get(formState.errors, name).message
invalid ? get(formState.errors, name)?.message : undefined
}
ref={ref}
id={id}
Expand Down

0 comments on commit f172a8f

Please sign in to comment.