View source: R/input-checkbox-group.R
input_checkbox_group | R Documentation |
A reactive checkbox input. Users may select one or more choices. When a
checkbox input has no selected choices the reactive value is NULL
.
input_checkbox_group(
id,
choices,
...,
values = choices,
select = NULL,
disable = NULL,
appearance = c("default", "buttons", "switches", "list"),
layout = c("column", "row"),
label = c("after", "before")
)
id |
A character string. The id of the reactive input. |
choices |
A character vector or list. The labels for the input choices. |
... |
Optional named arguments specifying HTML attributes for the input element. |
values |
A character vector. The values for the input, defaults to
|
select |
A character vector. The values selected by default, one or more
of |
disable |
A character vector. The values disabled by default. |
appearance |
A character string. The appearance of the input's checkboxes. |
layout |
A character string. The layout of the choices. |
label |
A character string. The placement of a label relative to its checkbox. |
session |
A shiny session object. |
A named logical vector.
A shiny tag object.
Other inputs:
fileInput()
,
input_button()
,
input_checkbox()
,
input_chip()
,
input_form()
,
input_list_group()
,
input_menu()
,
input_radio_group()
,
radiobarInput()
,
rangeInput()
,
selectInput()
,
textInput()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.