IAutocompleteProps
interface
State & Interaction
Props controlling the autocomplete / combobox behaviour — search text, delimiters, auto-select and clear-on-select.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- 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.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Autocomplete with auto-select and clear on select