ui_picker_program | R Documentation |
A pickerInput that provides active programs to select from
ui_picker_program(
label = "Select Program",
inputId = rlang::caller_env()$ns("program"),
choices = programs,
selected = NULL,
multiple = TRUE,
options = shinyWidgets::pickerOptions(liveSearch = TRUE, liveSearchStyle = "contains",
actionsBox = TRUE),
...,
add_options
)
label |
Display label for the control, or |
inputId |
|
choices |
List of values to select from. If elements of the list are named then that name rather than the value is displayed to the user. |
selected |
The initially selected value (or multiple values if |
multiple |
Is selection of multiple items allowed? |
options |
List of options, see pickerOptions for all available options. To limit the number of selection possible, see example below. |
... |
Arguments passed on to
|
add_options |
|
A select control that can be added to a UI definition.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.