Prefix and Suffix
You can improve the interactivity of the AutoComplete component by adding custom prefix and suffix adornments.
The prefix and suffix input adornments are elements positioned before and after the AutoComplete input element. You can use them to clarify the expected data in the input (for example, currency symbols or unit indicators) and provide direct functionality for the entered data (for example, password visibility toggles).
Prefix
The prefix input adornment is located before the AutoComplete input field. It provides additional context to guide users when entering specific data, such as icons for currencies or unit indicators.
To add a prefix before your AutoComplete input, use the prefixOptions configuration. prefixOptions provides the following options:
Icon