skip_validation {shinyvalidate}R 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.


[Package shinyvalidate version 0.1.3 Index]