(option: AutocompleteOption) => void
string
The text in the field. Free text is allowed — this is not a Select.
boolean
default: true
Adds a clear button once there is text. Defaults to `true`.
string
Shown when nothing matches. Omit to hide the list instead.
(option: AutocompleteOption, query: string) => boolean
default: defaultFilter
Custom matcher. Defaults to a case- and accent-insensitive substring test
over `label`. Pass `() => true` when the options are filtered server-side.
string
Supporting text below the field; hidden while an error is shown.
MaterialCommunityIconsGlyphs
boolean
Shows a spinner in the field — for options still being fetched.
number
default: 8
Caps the visible suggestions. Defaults to 8.
number
default: 1
Characters required before suggestions appear. Defaults to 1.