| Prop | Default | Type |
|---|---|---|
autocomplete | stringNative html input | |
by | string | ((a: AcceptableValue, b: AcceptableValue) => boolean)Use this to compare objects by a particular field, or pass your own comparison function for complete control over how objects are compared. | |
defaultOpen | booleanThe open state of the select when it is initially rendered. Use when you do not need to control its open state. | |
defaultValue | AcceptableValue | AcceptableValue[]The value of the select when initially rendered. Use when you do not need to control the state of the Select | |
dir | 'ltr' | 'rtl'The reading direction of the combobox when applicable. | |
disabled | booleanWhen | |
modelValue | AcceptableValue | AcceptableValue[]The controlled value of the Select. Can be bind as | |
multiple | booleanWhether multiple options can be selected or not. | |
name | stringThe name of the field. Submitted with its owning form as part of a name/value pair. | |
open | booleanThe controlled open state of the Select. Can be bind as | |
required | booleanWhen |
| Emit | Payload |
|---|---|
update:modelValue | [value: AcceptableValue]Event handler called when the value changes. |
update:open | [value: boolean]Event handler called when the open state of the context menu changes. |
| Slots (default) | Payload |
|---|---|
modelValue | AcceptableValue | AcceptableValue[] | undefinedCurrent input values |
open | booleanCurrent open state |
