Fixed lintr & complexity issues
This commit is contained in:
@@ -60,5 +60,5 @@ a11yCheckboxGroupInput <- function(
|
||||
selectAll
|
||||
)
|
||||
|
||||
htmltools::attachDependencies(fieldset, accessibleShinyInputsDependency())
|
||||
htmltools::attachDependencies(fieldset, a11yShinyInputsDependency())
|
||||
}
|
||||
|
||||
@@ -26,7 +26,8 @@ a11yFileInput <- function(
|
||||
class = "shiny-input-file",
|
||||
name = inputId,
|
||||
type = "file",
|
||||
style = "position: absolute !important; top: -99999px !important; left: -99999px !important;",
|
||||
style = "position: absolute !important; top: -99999px !important; \
|
||||
left: -99999px !important;",
|
||||
`data-restore` = restoredValue
|
||||
)
|
||||
if (multiple) {
|
||||
@@ -54,7 +55,8 @@ a11yFileInput <- function(
|
||||
class = "input-group-btn input-group-prepend",
|
||||
htmltools::tags$span(
|
||||
class = "btn btn-default btn-file", buttonLabel, inputTag
|
||||
)),
|
||||
)
|
||||
),
|
||||
htmltools::tags$input(
|
||||
type = "text",
|
||||
class = "form-control",
|
||||
|
||||
@@ -40,5 +40,5 @@ a11yRadioButtons <- function(
|
||||
options
|
||||
)
|
||||
|
||||
htmltools::attachDependencies(fieldset, accessibleShinyInputsDependency())
|
||||
htmltools::attachDependencies(fieldset, a11yShinyInputsDependency())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user