--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/840fd9fe-4f6d-4f54-a369-321e09bf28af%40googlegroups.com.
library(shiny)library(shinyjs)runApp(shinyApp( ui = fluidPage( useShinyjs(), selectInput("test", "Select once", letters), actionButton("submit", "Choose") ), server = function(input, output, session) { observeEvent(input$submit, { disable("test") }) }))