Alpha feature bug: when using shinyjs::reset() on a colour input since the alpha feature, it breaks
daattali opened this issue · 1 comments
daattali commented
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)
daattali commented
Fixed on shinyjs daattali/shinyjs@595cd30