Autocomplete

A material design TextBox with autocomplete. A subclass of TextBox - other properties, events and methods inherited from TextBox.

Properties

suggestions

list[str]

A list of autocomplete suggestions

suggest_if_empty

bool

If True then autocomplete will show all options when the textbox is empty

Events

suggestion_clicked

When a suggestion is clicked. If a suggestion is selected with enter the pressed_enter event fires instead.