Skip to content

Autocomplete

You can see how to work with autocomplete options in example.

AutocompleteChoice #

Represents the autocomplete choice.

name class-attribute instance-attribute #
name: str = attrs.field(eq=False)

Name of choice.

That will be displayed to user.

value class-attribute instance-attribute #
value: int | str | float = attrs.field(eq=False)

Internal value of choice.