diff --git a/packages/react-templates/src/components/Select/TypeaheadSelect.tsx b/packages/react-templates/src/components/Select/TypeaheadSelect.tsx index a2bcd148216..e344ebff1c5 100644 --- a/packages/react-templates/src/components/Select/TypeaheadSelect.tsx +++ b/packages/react-templates/src/components/Select/TypeaheadSelect.tsx @@ -26,7 +26,7 @@ export interface TypeaheadSelectOption extends Omit { /** @hide Forwarded ref */ - innerRef?: React.Ref; + innerRef?: React.Ref; /** Options of the select */ selectOptions: TypeaheadSelectOption[]; /** Callback triggered on selection. */ @@ -325,7 +325,7 @@ export const TypeaheadSelectBase: React.FunctionComponent aria-label="Typeahead menu toggle" onClick={onToggleClick} isExpanded={isOpen} - isDisabled={isDisabled} + isDisabled={isDisabled || false} isFullWidth style={ { @@ -349,7 +349,7 @@ export const TypeaheadSelectBase: React.FunctionComponent aria-controls="select-typeahead-listbox" />