new vectorSelectInput to select vector with names displayed

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-03-07 14:53:22 +01:00
commit 12db7a6025
No known key found for this signature in database
6 changed files with 255 additions and 9 deletions

View file

@ -254,11 +254,11 @@ m_redcap_readServer <- function(id) {
})
output$arms <- shiny::renderUI({
shiny::selectizeInput(
vectorSelectInput(
inputId = ns("arms"),
selected = NULL,
label = "Filter by events/arms",
choices = arms()[[3]],
data = stats::setNames(arms()[[3]],arms()[[1]]),
multiple = TRUE
)
})