New Radio Group (Expression) — DiSky
Addon: DiSky · Category: Expression · Since: 4.28.0
Syntax
new radio group with [the] id %string% [[and] [with] unique id %-integer%]Description
Create a new radio group component builder. A radio group is a component that allows users to select a single option from a list of radio buttons. It can be used in modals only, as a child of a label.
Examples
set {_radio} to new radio group with id "test2"
add (new radio option with value "option1" named "Option 1") to options of {_radio}
add (new default radio option with value "option2" named "Option 2") to options of {_radio}
set {_label} to new label "Choose another option:" with {_radio}
add {_label} to rows of {_modal}