View source: R/input-list-group.R
input_list_group | R Documentation |
List group inputs are an actionable list of items. They behave similarly to checkboxes or radios, that is, users may select one or more items from the list. However, list group items may include highly variable content.
input_list_group(
id,
choices,
...,
values = choices,
select = NULL,
disable = NULL,
appearance = c("default", "flush"),
layout = c("column", "row")
)
update_list_group(
id,
choices = NULL,
values = choices,
select = NULL,
disable = NULL,
session = get_current_session()
)
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 list items. Flush list items have their outer borders and rounded corners removed. |
layout |
<responsive> A character vector. The layout of the choices. |
session |
A shiny session object. |
Other inputs:
fileInput()
,
input_button()
,
input_checkbox()
,
input_checkbox_group()
,
input_chip()
,
input_form()
,
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.