Skip to content

Combobox Control

Searchable dropdown for large option sets.

OptionTypeDefaultDescription
labelstring-Field label
controlstringcomboboxControl type
placeholderstring-Search placeholder
optionsarray-Array of {label, value} pairs
defaultstring-Default value
{
"attributes": {
"country": {
"type": "string",
"default": "",
"wbs": {
"label": "Country",
"control": "combobox",
"placeholder": "Search countries...",
"options": [
{ "label": "United States", "value": "usa" },
{ "label": "United Kingdom", "value": "uk" }
]
}
}
}
}
<p class="country">Country: {{ attributes.country }}</p>

Use Combobox when you have 20+ options that users would want to search through. For smaller option sets, Select is simpler.