Compare commits

..

2 Commits

Author SHA1 Message Date
2384c0284a Increment version number to 1.0.1 2026-02-24 15:27:33 +00:00
6c7b91ac48 Fixed file input trigger 2026-02-24 15:27:02 +00:00
2 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
Package: AVSDevR.A11yShinyInputs Package: AVSDevR.A11yShinyInputs
Title: Accesible Alternatives to Shiny Inputs Title: Accesible Alternatives to Shiny Inputs
Version: 1.0.0 Version: 1.0.1
Authors@R: Authors@R:
person("Craig", "Williams", , "craig@avsdev.uk", role = c("aut", "cre")) person("Craig", "Williams", , "craig@avsdev.uk", role = c("aut", "cre"))
Description: Provides accessible alternatives to shiny inputs such as the radio Description: Provides accessible alternatives to shiny inputs such as the radio

View File

@@ -54,7 +54,9 @@ a11yFileInput <- function(
htmltools::tags$div( htmltools::tags$div(
class = "input-group-btn input-group-prepend", class = "input-group-btn input-group-prepend",
htmltools::tags$span( htmltools::tags$span(
class = "btn btn-default btn-file", buttonLabel class = "btn btn-default btn-file",
onclick = paste0("$('#", inputId, "').click();"),
buttonLabel
), ),
inputTag inputTag
), ),