Composants → bpm.selectbox

bpm.selectbox

Liste deroulante pour choisir une valeur.

StableInteraction⏱ 2 min
Python
bpm.selectbox(label="Choisir", placeholder="Selectionner...", disabled=false)
PropTypeDefautRequisDescription
labelstringNonLabel.
optionsSelectOption[]OuiOptions.
valuestring | nullOuiValeur selectionnee.
onChangefunctionOuiCallback.
placeholderstringSelectionner...NonTexte par defaut.
disabledbooleanfalseNonDesactive.

Exemples

bpm.selectbox(label="Region", options=[{"value": "fr", "label": "France"}], value=region, onChange=set_region)
bpm.selectbox(options=["A", "B", "C"], placeholder="Choix")