IAutocompleteProps
interface
State & Interaction
Props controlling the autocomplete / combobox behaviour — search text, delimiters, auto-select and clear-on-select.
TypeScript
Définition
La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
API
Propriétés
Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.
- autoSelectFirstboolean | string
- Automatically selects the first suggestion when the list opens. Pass "exact" to select only on exact match.
- clearOnSelectboolean
- Clears the search text after the user picks an item.
- delimitersArray<string>
- Array of characters that trigger chip creation in a combobox (e.g. [",", " "]).
- searchstring
- The current search / filter string, bound via v-model:search.
- autocompleteboolean
- Enables native browser autocomplete on the underlying input.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Autocomplete with auto-select and clear on select