The autocompleteMultiple is a text input enhanced by a list of suggested options. This component is useful when the user has to choosemultiple options from a predefined list.
This component shouldn't be used in the following scenarios:
(value: string) => void | Promise<void>
Handler that is called when the input changes.
(values: T[]) => void
Handler that is called when a option is selected.
(T | OptionGroup<T>)[]
The list of ComboBox options.
{ selectAll?: string; selected: string; }
Translations for the selected states of the AutocompleteMultiple.
T[]
The current value.
string
className for the element
string
Maximum height of the dropdown menu.
"content" | "parent"
Whether the AutocompleteMultiple should fit its parents or content.
Default: contentboolean
Whether the AutocompleteMultiple is disabled.
boolean
Whether the AutocompleteMultiple is invalid.
boolean
Whether the AutocompleteMultiple is loading.
string
The name of the Combobox, used when submitting an HTML form.
FocusEventHandler<HTMLInputElement>
Handler that is called when the element loses focus.
FocusEventHandler<HTMLInputElement>
Handler that is called when the element receives focus.
string
Temporary text that occupies the Combobox when it is empty.
"bottom-end" | "bottom-start" | "end-bottom" | "end-top" | "top-end" | "top-start"
Placement the menu will render relative to the field
(rawValue: string) => ReactNode
Function to render when no options are available
(optionGroup: OptionGroup<T>) => ReactNode
Function to render option group.
boolean
Whether the combobox should show a clear button.
Default: false