Skip to content

Commit

Permalink
Update checkbox.R
Browse files Browse the repository at this point in the history
Minor modification to multiple_checkbox(), such that the "inline" option now works
  • Loading branch information
amanigaultw committed Sep 19, 2023
1 parent 4b00b7c commit e02f634
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions R/checkbox.R
Expand Up @@ -142,10 +142,13 @@ multiple_checkbox <- function(input_id, label, choices, choices_value = choices,
}))

shiny::div(
id = input_id, class = paste(position, "fields ss-checkbox-input"),
tags$label(`for` = input_id, label),
choices_html,
...
class = "ui form",
shiny::div(
id = input_id, class = paste(position, "fields ss-checkbox-input"),
tags$label(`for` = input_id, label),
choices_html,
...
)
)
}

Expand Down

0 comments on commit e02f634

Please sign in to comment.