autocomplete
v4.15.0arrow_drop_downThis prop can be either a string or a Node. It will provide a title for the items
An array of items to be used as options for the select
The selected Item to be shown on the autocomplete
The selected item to be selected & shown by default on the autocomplete
In case the array of items is not an array of strings, this function is used on each item to return the string that will be shown on the filter
Function that will render the ‘filter’ component.
The height of each item in the list Because the list is virtualized this is required beforehand.
Function that returns a component to render the item
The position of the Popover the Autocomplete is rendered in.
A function that is used to filter the items. It should return a subset of the initial items. By default the “fuzzaldrin-plus” package is used.
Prop that enables and disables filtering True: Enables Filtering False: Disables Filtering
Defines the minimum height the results container will be
Defines the maximum height the results container will be
Name | Type |
---|---|
children | node |
style | object |
isSelected | bool |
isHighlighted | bool |