AutoComplete
AutoComplete helps users type ahead against a fixed suggestion list while keeping free text in the bound value — entity lookup, tagging prep, or search fields where not every query matches an option.
For strict single- or multi-select without free text, use Combobox. For short native lists, use Select.
- Search-as-you-type fields with a fixed option set
- Entity lookup where typing narrows candidates
- Forms where free text is allowed but suggestions speed entry
- Bind a
Stringsignal viaAutoCompleteBind. - Add
AutoCompleteOptionchildren for each suggestion. - Use
events.on_selectwhen the app needs a side effect on pick. - Set
appearance.clear_after_selectto reset the field after a pick, orblur_after_selectto dismiss the list on selection.
Type-to-filter suggestions appear in a list below the input as users narrow the option set.
on_select fires when a suggestion is picked so the app can react with side effects or logging.
Input resets after each pick—useful for quick repeated lookups without manual clearing.
Moves focus away from the input after pick to signal the entry flow is complete.
Blocks typing and selection when the field is unavailable in the current form context.
Small and large input presets for dense toolbars versus prominent form fields.