skip_validation: Skip any normal validation performed by a rule

skip_validationR Documentation

Skip any normal validation performed by a rule

Description

While the predominant role of the skip_validation() function is tied to the sv_optional() function (where it's used internally), you can also return skip_validation() from custom validation rules. When returned, all subsequent validation rules defined for the input will be skipped.

Usage

skip_validation()

Value

A function that returns a sentinel value, signaling to shinyvalidate that any further validation rules for an input are to be skipped.


rstudio/shinyvalidate documentation built on Oct. 14, 2023, 2:02 a.m.