radioButtons where you can select multiple buttons, just like checkboxGroupInput

2,058 views
Skip to first unread message

Bernhard Klingenberg

unread,
Aug 8, 2016, 3:44:26 PM8/8/16
to Shiny - Web Framework for R
Hi,

it would be nice to have a radioButtons UI that has the functionality of checkboxGroupInput, i.e., where you can select several radiobuttons at once instead of just a single one. (Something like radioGroupButtons.)
Or, is there a simple workaround that replaces the checkboxes that appear with checkboxGroupInput with buttons? 

Thanks,

Bernhard

Joe Cheng

unread,
Aug 8, 2016, 4:11:28 PM8/8/16
to Bernhard Klingenberg, Shiny - Web Framework for R
The distinguishing characteristic of radio buttons, is that they only let you choose one thing. What's wrong with the checkboxes? What kinds of choices are you trying to present?

--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/309f5587-bdb3-40d0-85fc-47f714d807a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bernhard Klingenberg

unread,
Aug 8, 2016, 4:25:03 PM8/8/16
to Shiny - Web Framework for R, bkli...@williams.edu
There is nothing wrong, I just find them aesthetically more pleasing. (Plus, I have several other (single) radioButtons in my app, so it would be more uniform, but that is a small point.)
I wasn't aware that (even outside of shiny?) those round buttons automatically imply that only a single choice can be made.
Thanks! 

Joe Cheng

unread,
Aug 8, 2016, 4:31:25 PM8/8/16
to Bernhard Klingenberg, Shiny - Web Framework for R
Yep, radio buttons are a longstanding UI convention, followed by every UI toolkit I can think of since the earliest versions of Windows and Mac OS.


--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages