type
Type partial text into a field then pick from suggestions
Typeahead / autocomplete: type partial text, wait for suggestions, then pick an option. Distinct from fill (replaces entire field) and pick from (opens a closed combobox).
Syntax
When I type "<partial>" in "<field>" and pick "<option>"Qualifiers
| Qualifier | Role | Example |
|---|---|---|
in | Field label | type "Can" in "Country" and pick "Canada" |
and pick | Option to select from suggestions | same |
Requirements
| Item | Contract |
|---|---|
| Element / control shape | Field: general resolve (input/textarea/clickable/checkbox chain). Suggestions panel: same as combobox — visible role=listbox or role=menu; option role=option or li inside panel |
| How the label binds | in = field label; and pick = option payload (literal) |
| Qualifiers that change resolve | Types into field, waits for panel owned by that field, then picks |
| Platform | Web |
| Wrong shape → use instead | Closed combobox without typing → pick from / open. Native select → select |
When it fails
- Field not found, panel never opens as listbox/menu, or option not in panel.
See also UI contracts.
Examples
When I type "Can" in "Country" and pick "Canada"