input_list_group: List group inputs

View source: R/input-list-group.R

input_list_groupR Documentation

List group inputs

Description

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.

Usage

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()
)

Arguments

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 choices.

select

A character vector. The values selected by default, one or more of values.

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.

See Also

Other inputs: fileInput(), input_button(), input_checkbox(), input_checkbox_group(), input_chip(), input_form(), input_menu(), input_radio_group(), radiobarInput(), rangeInput(), selectInput(), textInput()


nteetor/dull documentation built on July 4, 2025, 8:52 a.m.