Description Usage Arguments Value
A select list module UI that can accept dynamic inputs on the server-side declaration
1 2 3 4 5 6 7 8 9 10 11 12 | select_server(
input,
output,
session,
label = "Choose a metric:",
choices = c("Test Selection", "Test Selection 1", "Test Selection 2",
"Test Selection 3"),
updateVal = NA,
trig,
idx = 5,
multiple = F
)
|
input |
list of inputs used in the shiny application session |
output |
list of outputs used the shiny application session |
session |
The shiny app session object |
label |
The label of the |
choices |
The choices of the |
updateVal |
The reactive function used to update the value of the select UI |
trig |
The function used to trigger the value update |
idx |
The index of which choice should be selected. |
multiple |
The multiple option of the |
Character. Select list value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.