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.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

autoSelectFirst
boolean | string
Automatically selects the first suggestion when the list opens. Pass "exact" to select only on exact match.
clearOnSelect
boolean
Clears the search text after the user picks an item.
delimiters
Array<string>
Array of characters that trigger chip creation in a combobox (e.g. [",", " "]).
search
string
The current search / filter string, bound via v-model:search.
autocomplete
boolean
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

vue