Composants → bpm.selectbox

bpm.selectbox

Liste déroulante pour choisir une valeur.

StableInteraction⏱ 2 min
Python
bpm.selectbox(label="Choisir", placeholder="Selectionner...", disabled=false)
PropTypeDéfautRequisDescription
labelstringNonLabel.
optionsSelectOption[]OuiOptions.
valuestring | nullOuiValeur sélectionnée.
onChangefunctionOuiCallback.
placeholderstringSelectionner...NonTexte par défaut.
disabledbooleanfalseNonDésactive.

Exemples

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