Autocomplete

A text field with suggestions — free text or a forced choice, one value or chips, from a server or a local list.

Features10APIThemingAccessibility

Basic

Suggestions while you type: completed gets the query, you set suggestions. Any text stays the value.

Value: —

Force selection

With forceSelection only a suggestion can be the value; other text is cleared when you leave the field.

Value: —

Multiple

multiple collects chips; Backspace in an empty field removes the last one.

olena@example.com

Server

A server search: loading while the request runs, delay between keystrokes and minLength before the first request.

Template

Own suggestion markup with txSelectOption, e.g. an icon before the text.

Groups

Suggestions in named groups.

States

Sizes, filled variant, invalid, disabled and read-only.

Design tokens

dt changes the select tokens of one autocomplete.

Pass through

Your classes and styles on inner parts.