diff --git a/packages/sdk/ui-react/src/widget/autoComplete/autoComplete.tsx b/packages/sdk/ui-react/src/widget/autoComplete/autoComplete.tsx index f6657bc96..cb8a1df54 100644 --- a/packages/sdk/ui-react/src/widget/autoComplete/autoComplete.tsx +++ b/packages/sdk/ui-react/src/widget/autoComplete/autoComplete.tsx @@ -147,14 +147,11 @@ export class AutoComplete extends Component - {errorMessage} - - ); - } - return undefined; + return ( + + {errorMessage ? errorMessage : null} + + ); } private get errorMessageId(): string {