From e02f63417c90b0a627c0b25d811c85cc7c10dcb1 Mon Sep 17 00:00:00 2001 From: andrewmanigaultw Date: Tue, 19 Sep 2023 11:08:53 -0400 Subject: [PATCH] Update checkbox.R Minor modification to multiple_checkbox(), such that the "inline" option now works --- R/checkbox.R | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/R/checkbox.R b/R/checkbox.R index 7c0017a0..d0d77c7b 100644 --- a/R/checkbox.R +++ b/R/checkbox.R @@ -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, + ... + ) ) }