From 6c7b91ac481244268c602fc0d9d3bb02aa815f90 Mon Sep 17 00:00:00 2001 From: Craig Williams Date: Tue, 24 Feb 2026 15:27:02 +0000 Subject: [PATCH] Fixed file input trigger --- R/a11yFileInput.R | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/R/a11yFileInput.R b/R/a11yFileInput.R index 7a17d2d..fe97835 100644 --- a/R/a11yFileInput.R +++ b/R/a11yFileInput.R @@ -54,7 +54,9 @@ a11yFileInput <- function( htmltools::tags$div( class = "input-group-btn input-group-prepend", htmltools::tags$span( - class = "btn btn-default btn-file", buttonLabel + class = "btn btn-default btn-file", + onclick = paste0("$('#", inputId, "').click();"), + buttonLabel ), inputTag ),