mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-06 20:55:24 -05:00
fix validation bug
This commit is contained in:
@@ -1134,7 +1134,7 @@ validate <- function(..., errorClass = character(0)) {
|
||||
# There may be empty strings remaining; these are message-less failures that
|
||||
# started as FALSE
|
||||
results <- results[nzchar(results)]
|
||||
reactiveStop(paste(results, collapse="\n"), errorClass)
|
||||
reactiveStop(paste(results, collapse="\n"), c(errorClass, "validation"))
|
||||
}
|
||||
|
||||
#' @param expr An expression to test. The condition will pass if the expression
|
||||
|
||||
Reference in New Issue
Block a user