I found a question that was similar, but didn't address the problem when dealing this Radio Buttons in Shiny in their native form; i.e., without HTML.
I have this line:
column(6, h1(radioButtons(inputId="gender", "Gender", choices = list("combined" = "combined", "male only" = "male", "female only" = "female"), inline=TRUE)))
which looks like this:
I would like to make the labels (e.g., 'combined', 'male only', 'female only') bold.
I tried setting a class, class="radioSelect
, as below:
column(6, h1(radioButtons(inputId="gender", "Gender", choices = list(class="radioSelect", combined" = "combined", "male only" = "male", "female only" = "female"), inline=TRUE)))
...but ended up, amusingly and not surprisingly, with this:
Does anyone have any advice on how I can apply a class to a label on a radio button in Shiny this way? Thanks for your attention.