I need to start an application with "button2" disabled. It should only be enabled after "button1" is pressed. How can I do this?
I'm trying to use enable/disable from the shinyjs package.
I can enable "button2" after pressing "button1", but how do I start the application with "button2" disabled?
observeEvent(input$b1,{
shinyjs::enable("b2")
...
})