Closed daattali closed 7 years ago
library(shiny) ui<-fluidPage(shinyjs::useShinyjs(), colourpicker::colourInput("col", "colour", "#abde",allowOpacity = TRUE), actionButton("btn", "go") ) server<-function(input,output,session){ observeEvent(input$btn, { shinyjs::reset("col") }) } shinyApp(ui,server)
Fixed on shinyjs https://github.com/daattali/shinyjs/commit/595cd30955c93cc5aa4952313601950c684659d4