Alternatives
- Combobox — Allows the user to browse, search, and make a single selection from a large list of values.
- SelectInput — For small lists.
Usage
The Autocomplete has no opinions about what you do when an option is selected.
disabled
Disables the autocomplete.
Selecting options
You may want to show the option that the user selected when they are inside a form. You can use value to do this.
AutocompleteField
If you're using the Autocomplete inside a form, you should use the AutocompleteField component. This accepts similar props to other Field components.
Option renderers
You can provide a render function to renderOption to render options in a different way. Three default render functions are exported for various use cases.