Komponente zur Auswahl eines Radio Buttons in einer Gruppe
Name des ControlType: radioGroup
Eigenschaften von radioGroup
|
selectOptions |
Liste von |
|
value |
Definiert den Wert des ausgewählten Radio-Buttons. Variablen können mit |
|
flow? |
(optional) - Ausrichtung der Controls im Container
|
|
hint? |
(optional) - Gibt den Text an, der beim Halten der Maus über die |
|
disabled? |
(optional) - Gibt an, ob die Komponente deaktiviert ist Standardwert: |
|
readonly? |
(optional) - Gibt an, ob die Auswahl geändert werden kann. Die Komponente selber ist aktiv. Standardwert: |
Beispiel:
YAML
data:
variables:
radioGroupValue:
type: string
value: a
controls:
- controlType: radioGroup
value:
$bind: radioGroupValue
selectOptions:
- label: A
value: a
- label: B
value: b
- label: C
value: c
- controlType: text
value:
$bind: radioGroupValue