Skip to content

Commit 834ce59

Browse files
authored
Fix disableErrorFromComponents removing error message
1 parent ca5741f commit 834ce59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/FormGroup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const FormGroup = <T extends BaseFormElementRenderProps>(props: FormGroupProps<T
9595
{hint}
9696
</Hint>
9797
) : null}
98-
{!disableErrorFromComponents && error && typeof error === 'string' ? (
98+
{error && typeof error === 'string' ? (
9999
<ErrorMessage id={errorID} {...errorProps}>
100100
{error}
101101
</ErrorMessage>

0 commit comments

Comments
 (0)