select2Input {shinysky} | R Documentation |
The select2 input
select2Input(inputId, label, choices = NULL, selected = NULL, type = c("input", "select"), drag.and.drop = FALSE, ...)
inputId |
Input variable to assign the control's value to |
label |
Display label for the control |
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 |
Name of initially selected item (or multiple names if
|
type |
The two valid options are input and select. The input type is similar to a text input and it can remember the order of selection. The select is based on the <select> tags in HTML and is not ordinal hence the order in which you specify the selection is not being taken into account, however it's input parameters are compatible with selectInput and you can use updateSelectInput to update its contents. |
drag.and.drop |
Allow drag and drop or not |
... |
Other arguments to pass into shiny::selectInput |
A select list control that can be added to a UI definition.#'
Other ShinySky.elements: actionButton2
,
hideshinyalert
, shinyalert
,
showshinyalert
,
textInput.typeahead