ISelectProps

interface
Form & Input

Full prop surface for <OrigamSelect>. Aggregates the text-field base, density, adjacent slots, field chrome, input contract, spacing, border, rounded, elevation, item list configuration, transitions, filters, and lazy loading, then adds select-specific behaviour: chips, multiple selection, menu control, autocomplete, and search.

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.

typescript

Héritage

Hérite de

Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.

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.

chips
boolean
Renders selected values as chip tags inside the control instead of plain text.
closableChips
boolean
Adds a close/remove button to each selection chip. Requires chips=true.
hideNoData
boolean
Hides the "no data" message in the dropdown when the search returns no results.
hideSelected
boolean
Removes already-selected items from the dropdown list (useful for multiple selects).
listProps
IListProps
Props forwarded to the internal OrigamList rendered inside the dropdown.
menu
boolean
v-model:menu — controls the open/closed state of the dropdown programmatically.
menuIcon
TIcon
Icon shown in the append-inner slot to indicate the dropdown is available. Defaults to mdi-chevron-down.
menuProps
IMenuProps
Props forwarded to the internal OrigamMenu (position, max-height, transition, etc.).
chipProps
IChipProps
Props forwarded to every selection chip (color, size, variant…).
multiple
boolean
Allows selecting more than one item. modelValue becomes an array.
noDataText
string
Text displayed when the dropdown list is empty or the search yields no results.
openOnClear
boolean
Re-opens the dropdown after the user clears the selection via the clear icon.
autocomplete
boolean
Enables text-input filtering — the user types to narrow the dropdown list.
autoSelectFirst
boolean | string
Auto-highlights the first matching item while the user types. Pass "exact" to restrict to exact-match prefix.
clearOnSelect
boolean
Clears the search input after an item is selected (useful for multiple autocomplete).
divider
string
Character used to separate multi-select values in the display string.
search
string
v-model:search — exposes the autocomplete search string for external control.
closeText
string
Accessible label for the close/collapse action on the dropdown.
openText
string
Accessible label for the open/expand action on the dropdown.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Multi-select with chips and autocomplete

html