From 665d6a8cfa469aaf5b8b386a42af1ff951303d44 Mon Sep 17 00:00:00 2001 From: Craig Williams Date: Thu, 5 Mar 2026 10:04:53 +0000 Subject: [PATCH] Fixed file input not attaching dependencies --- R/a11yFileInput.R | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/R/a11yFileInput.R b/R/a11yFileInput.R index 070a7e8..88fe2df 100644 --- a/R/a11yFileInput.R +++ b/R/a11yFileInput.R @@ -41,7 +41,8 @@ a11yFileInput <- function( if (!is.null(capture)) { inputTag$attribs$capture <- capture } - htmltools::tags$div( + + output_tags <- htmltools::tags$div( class = "form-group shiny-input-container", style = htmltools::css(width = htmltools::validateCssUnit(width)), htmltools::tags$label( @@ -79,4 +80,6 @@ a11yFileInput <- function( htmltools::tags$div(class = "progress-bar") ) ) + + htmltools::attachDependencies(output_tags, a11yShinyInputsDependency()) }