Prop | Default | Type |
---|---|---|
autocomplete | string Native 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 | boolean The 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 | boolean When | |
modelValue | AcceptableValue | AcceptableValue[] The controlled value of the Select. Can be bind as | |
multiple | boolean Whether multiple options can be selected or not. | |
name | string The name of the field. Submitted with its owning form as part of a name/value pair. | |
open | boolean The controlled open state of the Select. Can be bind as | |
required | boolean When |
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[] | undefined Current input values |
open | boolean Current open state |