diff --git a/apps/portal/src/components/shared/CompaniesTypeahead.tsx b/apps/portal/src/components/shared/CompaniesTypeahead.tsx index 23d9c276..7a48bd10 100644 --- a/apps/portal/src/components/shared/CompaniesTypeahead.tsx +++ b/apps/portal/src/components/shared/CompaniesTypeahead.tsx @@ -6,6 +6,7 @@ import { trpc } from '~/utils/trpc'; type Props = Readonly<{ disabled?: boolean; + errorMessage?: string; isLabelHidden?: boolean; onSelect: (option: TypeaheadOption) => void; placeHolder?: string; diff --git a/apps/storybook/stories/text-area.stories.tsx b/apps/storybook/stories/text-area.stories.tsx index 14d4acdb..304d267f 100644 --- a/apps/storybook/stories/text-area.stories.tsx +++ b/apps/storybook/stories/text-area.stories.tsx @@ -74,11 +74,18 @@ export function HiddenLabel() { export function Disabled() { return ( - +
+ {errorMessage} +
+ )}