Skip to main content

AutoSuggestBoxItem

One suggestion in an AutoSuggestBox.

Inherits: Control

Properties

  • content - A custom control shown in the list instead of label.
  • label - The text this suggestion is matched against and shown with.
  • value - The value reported when this suggestion is chosen.

Properties​

contentclass-attributeinstance-attribute​

content: Control | None = None

A custom control shown in the list instead of label.

labelclass-attributeinstance-attribute​

label: str | None = None

The text this suggestion is matched against and shown with. It is put in the box when the suggestion is chosen.

If None, value is used.

valueinstance-attribute​

value: str

The value reported when this suggestion is chosen.