Skip to content

Combobox

Basic combobox
With v-model
Selected: (none)
Appearance
Sizes
With prefix icon
States
Filtering
Scrollable list (many options)

Props

PropTypeDefaultDescription
modelValuestring | undefinedundefinedSelected value
optionsFuiComboboxOption[]requiredCombobox options
placeholderstring''Placeholder text
disabledbooleanfalseDisabled state
invalidbooleanfalseError state
size'small' | 'medium' | 'large''medium'Component size
appearance'outline' | 'underline' | 'filled-darker' | 'filled-lighter''outline'Visual appearance
clearablebooleanfalseShow clear button when selected
freeformbooleanfalseAllow arbitrary text input
openOnFocusbooleantrueOpen dropdown on input focus
openOnClickbooleantrueOpen dropdown on input click

FuiComboboxOption

PropTypeDescription
valuestringOption value
labelstringDisplay label
disabled?booleanOption disabled

Events

EventPayloadDescription
update:modelValuestring | undefinedEmitted when selection changes