How to use updateSelectInput in flexdashboard?
问题 I'd like to change values of an inputbox based on another inputbox. With R Shiny there is a method available: updateSelectInput. But I'm not sure how to use it in flexdashboard. 回答1: This is quite late but also quite possible. If this is your first selectInput() raw_data <- mpg selectInput( "manufacturer", label = "Select manufacturer", choices = c("All", sort(unique(raw_data$manufacturer))) ) You can try either of these approaches. This one is overall less code: renderUI({ df <- raw_data %>%