Fixed file input not attaching dependencies
This commit is contained in:
@@ -41,7 +41,8 @@ a11yFileInput <- function(
|
|||||||
if (!is.null(capture)) {
|
if (!is.null(capture)) {
|
||||||
inputTag$attribs$capture <- capture
|
inputTag$attribs$capture <- capture
|
||||||
}
|
}
|
||||||
htmltools::tags$div(
|
|
||||||
|
output_tags <- htmltools::tags$div(
|
||||||
class = "form-group shiny-input-container",
|
class = "form-group shiny-input-container",
|
||||||
style = htmltools::css(width = htmltools::validateCssUnit(width)),
|
style = htmltools::css(width = htmltools::validateCssUnit(width)),
|
||||||
htmltools::tags$label(
|
htmltools::tags$label(
|
||||||
@@ -79,4 +80,6 @@ a11yFileInput <- function(
|
|||||||
htmltools::tags$div(class = "progress-bar")
|
htmltools::tags$div(class = "progress-bar")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
htmltools::attachDependencies(output_tags, a11yShinyInputsDependency())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user