Autocomplete is a component that allows you to search and select a value from a list of options. It is a combination of a text input and a dropdown menu.
Autocomplete only supports changed
and input
events.
You can have complex objects as item and using key
prop you can extract the data that
You need from Autocomplete.
You can set the valid
or invalid
boolean properties to apply the valid
or invalid state to a Autocomplete.
You can use key
prop to set a custom key for the input element.
You can use any component inside Autocomplete like this: