Optional
ariaOptional
autoPreset the autocomplete search value. If it matches a valid search hit, it will be selected. Otherwise, an empty selection is made.
Optional
children?: React.ReactNodeThe children elements of the component.
Optional
customUsed for tests. Clickable and requested subcomponents will be suffixed with "-[ComponentName]".
Optional
customCustom translations for the component.
Optional
disabled?: booleanIf true, the component is disabled.
Optional
endIcon to display at the end of the input field.
Error message to display.
Optional
freeAllow input values to be submitted freely without needing to match a search hit if true.
Optional
highlightHighlight matching parts of the input value in the dropdown options if true.
Unique identifier for the component.
Optional
inputReference to the input (text field) element.
Optional
isIf true, a loading skeleton will be rendered instead of the component.
Optional
label?: stringThe label text.
Optional
lang?: "en" | "sv" | "no"Language used for internal translations.
Optional
onCallback fired when navigating results with arrow key
Optional
onCallback fired when focus leaves the input field.
Optional
onCallback fired when the input value changes.
Optional
onCallback fired when an option is selected.
The filtered options to be displayed in the drop down
Optional
overrideWhen true the components internal onSelect is overridden which otherwise runs alongside the passed in function
The input (text field) placeholder text
Optional
prepopulationLists to prepopulate the dropdown with.
Optional
shouldForce mobile behavior - render a text-field-button to open the autocomplete in a sheet
Optional
shouldWhen true the input field will keep the user defined value and not display the currently selected option
Optional
skeletonCustom styles for the skeleton component.
Optional
startIcon to display at the start of the input field.
Optional
sx?: SxProps<Theme>Prop for defining system overrides and additional CSS styles.
Optional
textCustom props for the TextFieldButton component.
Optional
titleSemantic heading size for popular values.
Optional
transitionTransition type for opening and closing the drawer on mobile.
Optional
useShow an inline swap icon for desktop devices if true.
Optional
useUse internal filter for options
Current search value.
Aria label attribute for enhanced accessibility.