BalanceReckon Design System

Autocomplete

Presents a filtered list of options once the user has provided input, for datasets too large to browse.

AutocompleteProps

PropTypeRequiredDefaultDescription
'aria-describedby'string———
autoFocusboolean———
disabledboolean———
idstring———
invalidboolean———
loadOptions(inputValue: string) => Promise<Option[]>Yes——
minInputLengthnumber——Suggestions are neither requested nor shown until the input holds at least this many characters. Defaults to `0`.
noOptionsMessageProps['noOptionsMessage']———
onBlur() => void——Focus left the input, so a form can mark the field touched.
onChange(option: Option | null) => voidYes——
onInputChange(inputValue: string) => void——Reports what the user has typed. Only their own typing is reported, so a caller can treat the input as free text that survives blur and selection.
placeholderstring———
renderOption( option: Option, meta: FormatOptionLabelMeta<Option> ) => ReactNode———
valueOption | null———