diff --git a/src/app/form/widgets/BaseInputWidget.js b/src/app/form/widgets/BaseInputWidget.js index 83bfb7ee..69ec3d89 100644 --- a/src/app/form/widgets/BaseInputWidget.js +++ b/src/app/form/widgets/BaseInputWidget.js @@ -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}