Skip to main content
  1. Docs
  2. Components
  3. Forms

Combobox

Pick from many by typing to filter: one value, or several as pills. It can ask a server.

Import
@qeetrix/react/experimental
Status
ExperimentalSince 0.0.6
Renders
<input role="combobox">Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

Keyboard

KeysWhat happens
↑↓Opens the list and moves through it, skipping disabled options.
EnterChooses the highlighted option.
EscapeCloses the list.
BackspaceDeleteIn an empty input with pills: removes the last.
←→With pills: moves between them.

02

Behaviour

Role and name
A combobox over a listbox, named by its Field; Clear is named after the field.
Status
"Searching…" and "No matches" are announced; the list is marked busy while it waits.
Pills
The input's description says how to reach them with the keys.

03

Tested

On every change, before it ships.

  • axe, WCAG 2.2 A and AA, in Chromium on every pull request
  • Firefox and WebKit every night
  • Forced colours, reduced motion and right to left
  • Every field shares one height and edge: a test checks them together
Next — ComboboxChangelog