| modelValue | string | — |
- Name
- modelValue
- Description
The controlled value of the Autocomplete (the input text). Can be bound with v-model. - Type
string- Default
- —
|
| defaultValue | string | — |
- Name
- defaultValue
- Description
The value of the autocomplete when initially rendered. Use when you do not need to control the state. - Type
string- Default
- —
|
| open | boolean | — |
- Name
- open
- Description
The controlled open state of the Autocomplete. Can be bound with v-model:open. - Type
boolean- Default
- —
|
| defaultOpen | boolean | false |
- Name
- defaultOpen
- Description
The open state of the autocomplete when it is initially rendered. Use when you do not need to control its open state. - Type
boolean- Default
- false
|
| disabled | boolean | false |
- Name
- disabled
- Description
When true, prevents the user from interacting with autocomplete - Type
boolean- Default
- false
|
| dir | Direction | — |
- Name
- dir
- Description
The reading direction of the autocomplete when applicable. - Type
'ltr' | 'rtl'- Default
- —
|
| name | string | — |
- Name
- name
- Description
The name of the field. Submitted with its owning form as part of a name/value pair. - Type
string- Default
- —
|
| required | boolean | false |
- Name
- required
- Description
When true, indicates that the user must set the value before the owning form can be submitted. - Type
boolean- Default
- false
|
| resetSearchTermOnBlur | boolean | false |
- Name
- resetSearchTermOnBlur
- Description
Whether to reset the searchTerm when the Autocomplete input blurred - Type
boolean- Default
- false
|
| openOnFocus | boolean | false |
- Name
- openOnFocus
- Description
Whether to open the autocomplete when the input is focused - Type
boolean- Default
- false
|
| openOnClick | boolean | false |
- Name
- openOnClick
- Description
Whether to open the autocomplete when the input is clicked - Type
boolean- Default
- false
|
| ignoreFilter | boolean | false |
- Name
- ignoreFilter
- Description
When true, disable the default filters - Type
boolean- Default
- false
|
| highlightOnHover | boolean | true |
- Name
- highlightOnHover
- Description
When true, hover over item will trigger highlight - Type
boolean- Default
- true
|
| loop | boolean | false |
- Name
- loop
- Description
When true, keyboard navigation will loop from last item to first, and vice versa. - Type
boolean- Default
- false
|
| asChild | boolean | false |
- Name
- asChild
- Description
Change the default rendered element for the one passed as a child, merging their props and behavior. Read Reka UI's Composition guide for more details. - Type
boolean- Default
- false
|
| as | AsTag | Component | — |
- Name
- as
- Description
The element or component this component should render as. Can be overwritten by asChild. - Type
ComponentOptions<any, any, any, ComputedOptions, MethodOptions, any, any, any, string, {}, {}, string, {}, {}, {}, string, ComponentProvideOptions> | (props: any, ctx: Omit<{ attrs: Attrs; slots: Readonly<InternalSlots>; emit: (event: string, ...args: any[]) => void; expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed | undefined) => void; }, 'expose'>): any | ComponentPublicInstanceConstructor<any, any, any, any, ComputedOptions, MethodOptions> | 'a' | 'button' | 'div' | 'form' | 'h2' | 'h3' | 'img' | 'input' | 'label' | 'li' | 'nav' | 'ol' | 'p' | 'span' | 'svg' | 'ul' | 'template' | {} & string- Default
- —
|