Skip to content

ComboBox

ComboBoxes allow users to select from a dropdown list.

demonstration

Usage

python
from material_ui import ComboBox

combo = ComboBox()
combo.items = ["Option 1", "Option 2", "Option 3"]
combo.label = "Select an option"

API

Properties

NameTypeDefaultDescription
labelstr""Label for the textfield of the combobox.
valuestr""Currently selected value.
itemslist[str][]List of items to select from.

Signals

NameArgumentsDescription
on_changevalue: strCalled when the value is changed.