shinyMobile
shinyMobile copied to clipboard
update tab validation
validate_tabName <- function(tabName) {
forbidden <- "(?!_)[[:punct:]]"
wrong_selector <- grepl(forbidden, tabName, perl = TRUE)
if (wrong_selector) {
stop(
paste(
"Please do not use punctuation characters in tabNames.
This might cause JavaScript issues."
)
)
}
}