Elements

Reference

Autocomplete

Free text with suggestions: the reader types anything, the list narrows to help, and both a pick and a custom value end up in the same `modelValue`. A preset of the combobox machinery — same parts, same styling, one job. `items` seeds the suggestion list once; matching is a case-insensitive substring unless `filter` says otherwise.

#AutoComplete

Free text with suggestions: the reader types anything, the list narrows to help, and both a pick and a custom value end up in the same modelValue. A preset of the combobox machinery — same parts, same styling, one job. items seeds the suggestion list once; matching is a case-insensitive substring unless filter says otherwise.

PropTypeDefaultDescription
modelValueString""—
itemsArray as PropType<string[]>() => []—
placeholderStringundefined—
filterFunction as PropType<(item: string, input: string) => boolean>undefinedField text to match against; defaults to the item itself.
sizeString as PropType<"sm" | "md" | "lg">"md"One rung of the control-height ladder for the field row.