When using shinyjs::disabled() with a Panel, it disables textinputs and actionbuttons like expected. However, downloadButtons get ignored and stay enabled. If you put the downloadButton solely into disabled though, it works like in originally posted by @daattali in https://github.com/daattali/shinyjs/issues/132#issuecomment-46767938.
When using
shinyjs::disabled()
with a Panel, it disables textinputs and actionbuttons like expected. However, downloadButtons get ignored and stay enabled. If you put the downloadButton solely intodisabled
though, it works like in originally posted by @daattali in https://github.com/daattali/shinyjs/issues/132#issuecomment-46767938.MWE: