Skip to content

Multi Select Control

Multiple selectable items from a dropdown.

OptionTypeDefaultDescription
labelstring-Field label
controlstringmulti-selectControl type
optionsarray-Array of {label, value} pairs
defaultarray[]Default values
{
"attributes": {
"categories": {
"type": "array",
"default": [],
"wbs": {
"label": "Categories",
"control": "multi-select",
"options": [
{ "label": "News", "value": "news" },
{ "label": "Tech", "value": "tech" },
{ "label": "Sports", "value": "sports" }
]
}
}
}
}
<div class="categories">
{% for cat in attributes.categories %}
<span class="tag tag-{{ cat }}">{{ cat }}</span>
{% endfor %}
</div>

Use Multi Select when users need to choose multiple items from a list, like tags, categories, or filters.