This UI component hasn't been finalized yet. The functionality and syntax aren't stable and might be redone in an upcoming release. Only use it at your own risk - breaking changes are likely to occur.
The Autocomplete component can be wrapped around any form of input to get an flexible starting point to provide an real-time autocomplete dropdown. We use it for our
If set to
Maximum number of displayed results
Options for the autocomplete dropdown must be passed as an array of objects. Each object can have as many items as you like, but a text item is required to match agains the queryExample:
Term to filter options
You can pass an array of strings, which should be ignored in the search.
||Opens the dropdown and filters the options|
Search has been performed
New value has been selected
|default||Use to insert your input|