You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Including a downloadButton() (similar for downloadLink()) disabled explicitly in the app UI might be convenient for cases where the download is only available after some user interaction.
Before #4041, it was possible to add a "disabled" class when creating a downloadButton() in the UI (and then explicitly re-enable in the app server logic using e.g. shinyjs), but now the extra "disabled" class is always removed:
Maybe a nice way to resolve this would be to have built-in support for creating a disabled downloadButton() with disabled = TRUE , similar to actionButton(), with a similar mechanism to updateActionButton() for enabling/disabling it as part of the server logic?
The text was updated successfully, but these errors were encountered:
Including a
downloadButton()
(similar fordownloadLink()
) disabled explicitly in the app UI might be convenient for cases where the download is only available after some user interaction.Before #4041, it was possible to add a "disabled" class when creating a
downloadButton()
in the UI (and then explicitly re-enable in the app server logic using e.g. shinyjs), but now the extra "disabled" class is always removed:shiny/srcts/src/bindings/output/downloadlink.ts
Lines 10 to 13 in d84aa94
Maybe a nice way to resolve this would be to have built-in support for creating a disabled
downloadButton()
withdisabled = TRUE
, similar toactionButton()
, with a similar mechanism toupdateActionButton()
for enabling/disabling it as part of the server logic?The text was updated successfully, but these errors were encountered: