We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72d7754 commit ac2f99eCopy full SHA for ac2f99e
shiny/ui/_input_check_radio.py
@@ -218,11 +218,12 @@ def input_checkbox_group(
218
219
resolved_id = resolve_id(id)
220
input_label = shiny_input_label(resolved_id, label)
221
+
222
options = _generate_options(
223
id=resolved_id,
224
type="checkbox",
- choices=restore_input(resolved_id, choices),
225
- selected=selected,
+ choices=choices,
226
+ selected=restore_input(resolved_id, selected),
227
inline=inline,
228
)
229
return div(
@@ -292,7 +293,7 @@ def input_radio_buttons(
292
293
294
295
type="radio",
296
297
selected=restore_input(resolved_id, selected),
298
299
0 commit comments