Skip to content

Commit b73a409

Browse files
committed
Update checkbox.R
Minor modification to multiple_checkbox(), such that the "inline" option now works
1 parent 4b00b7c commit b73a409

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

R/checkbox.R

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,12 @@ multiple_checkbox <- function(input_id, label, choices, choices_value = choices,
142142
}))
143143

144144
shiny::div(
145-
id = input_id, class = paste(position, "fields ss-checkbox-input"),
146-
tags$label(`for` = input_id, label),
147-
choices_html,
148-
...
145+
class = "ui form", id = input_id ,
146+
shiny::div(class = paste(position, "fields ss-checkbox-input"),
147+
tags$label(`for` = input_id, label),
148+
choices_html,
149+
...
150+
)
149151
)
150152
}
151153

0 commit comments

Comments
 (0)