radio_set() groups radio_button()s so that one can be selected.
Space, Enter or a click selects an option; Up/Down move between options.
Changes send "radio_set.changed" (event$data: value, index,
label) from the set.
Usage
radio_set(..., selected = NULL, id = NULL, classes = NULL, style = NULL)
radio_button(label, value = label, id = NULL, disabled = FALSE)Arguments
- ...
radio_button()s.- selected
Value selected initially.
- id
Optional identifier.
- classes
Optional classes.
- style
A
style().- label
Label of the option.
- value
Value of the option (defaults to the label).
- disabled
Can the option be selected?