Skip to Content
DataCards 2.2.4 is released 🎉

Combobox Card

Card type: combobox

Data type of variable: str

Combobox card

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:

NameTypeRequiredDescription
optionslistYesList 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) )
Basic combobox card
Last updated on