Components
← All components

Multi-Select

stimeo--multi-select

A combobox that filters options and selects several, shown as removable chips.

  • Combobox

The stimeo--multi-select controller implements the WAI-ARIA Combobox pattern in its list-autocomplete, multi-select form. Typing filters options by substring and opens the list; focus stays on the input while the active option is tracked with aria-activedescendant. ArrowUp/ArrowDown (wrapping) and Home/End move the active option, Enter toggles it (the list stays open), and Escape/Tab/outside click close. Toggling syncs aria-selected, adds or removes a Remove {label} chip, mirrors the live region, and dispatches stimeo--multi-select:change with values; filtering dispatches stimeo--multi-select:filter for async candidates. The chips are one roving Tab stop (ArrowLeft/ArrowRight, Delete/Backspace; Backspace on an empty input removes the last). max caps the selection. For single selection use Listbox or Combobox; for free-text tags use Tags Input.

running
Favorite fruits

    Keyboard

    KeyAction
    Type Filter options by substring and open the list.
    ↓ / ↑ Move the active option (wrapping).
    Home / End Move to the first / last visible option.
    Enter Toggle the active option (the list stays open).
    Backspace (empty input) Remove the last selected chip.
    Esc Close the list.