⌂
›
Reference
›
RadioGroup
RadioGroup
Group related radio choices into one selection.
Example
radio_group(
value: "monthly",
content: column(
children: [
radio(value: "monthly", label: "Monthly"),
radio(value: "yearly", label: "Yearly")
]
)
)
Common properties
valuecontenton_change
Usage
radio_group(
value: plan,
on_change: ->(e) { plan = e.data },
content: column(
children: [
radio(value: "basic", label: "Basic"),
radio(value: "pro", label: "Pro")
]
)
)
Notes
- A
radio_grouptypically wraps one layout control containing severalradio(...)controls