Closed edward-burn closed 3 weeks ago
I find shinyWidgets::pickerInput to work better that shiny::selectizeInput, especially when there are many options. Using code like the below seems to work well for most situations I think
shinyWidgets::pickerInput( inputId = "cohort_code_use_grouping_cdm_name", label = "Cdm name", choices = NULL, selected = NULL, multiple = TRUE, options = list(actions-box = TRUE, size = 10, selected-text-format = "count > 3") )
actions-box
selected-text-format
shinyWidgets::updatePickerInput(session, inputId = names(choices)[k], choices = choices[[k]], selected = choices[[k]])
I find shinyWidgets::pickerInput to work better that shiny::selectizeInput, especially when there are many options. Using code like the below seems to work well for most situations I think
shinyWidgets::pickerInput( inputId = "cohort_code_use_grouping_cdm_name", label = "Cdm name", choices = NULL, selected = NULL, multiple = TRUE, options = list(
actions-box
= TRUE, size = 10,selected-text-format
= "count > 3") )