Prop | Default | Type |
---|---|---|
as | 'input' | AsTag | Component The element or component this component should render as. Can be overwritten by |
asChild | boolean Change the default rendered element for the one passed as a child, merging their props and behavior. Read our Composition guide for more details. | |
autoFocus | boolean Focus on element when mounted. | |
disabled | boolean When | |
modelValue | string The controlled value of the filter. Can be binded with with v-model. |
Emit | Payload |
---|---|
update:modelValue | [string] Event handler called when the value changes. |
Slots (default) | Payload |
---|---|
modelValue | string | undefined Current input values |