Skip to main content

SearchAutocomplete

Interfaces

SearchAutocompleteProps

Extends

  • Pick<AutocompleteProps<string, false, false, true>, Exclude<keyof AutocompleteProps<string, false, false, true>, "inputValue" | "freeSolo" | "multiple" | "autoComplete" | "loading" | "loadingText" | "noOptionsText" | "options" | "getOptionLabel" | "onInputChange" | "renderOption" | "renderInput">>

Properties

PropertyTypeDescriptionOverrides
autoFocus?booleanThe search form shoul focus on mount Default falsePick.autoFocus
onClear?() => voidHandler for clear action-
onSearch?(value) => voidHandler for search action-
onSuggestionSelect?(suggestion) => voidHandler for item select action-

Functions

SearchAutocomplete()

SearchAutocomplete(inProps): Element

Parameters

ParameterType
inPropsSearchAutocompleteProps

Returns

Element