Combobox Card
Card type:
combobox
Data type of variable:
str

The combobox card provides a searchable dropdown list of options. Users can type to filter the options and select a value. Selecting an option will update the value of the connected DataCards variable.
In addition to the common parameters and the input card parameters, the combobox card has the following configuration options:
Name | Type | Required | Description |
---|---|---|---|
options | list | Yes | List of strings to display in the dropdown. |
Examples
Basic combobox
options = [
'Alpha',
'Beta',
'Gamma',
'Delta',
'Epsilon',
]
datacards.publish.card(
type='combobox',
options=options,
label='Combobox',
variable_key='my_variable_key',
logic_view_size=(4, 4)
)

Last updated on