filledValidator: Checks if the inputs are not empty.

Description Usage Arguments Value See Also

View source: R/filledValidator.R

Description

This validator tests if the inputs given by inputIds are not empty, i.e., non-NULL, non-NA and different from an empty string.

Usage

1
filledValidator(inputIds, errorMessages = "Must not be empty.")

Arguments

inputIds

IDs of shiny inputs that are to be tested for emptiness

errorMessages

a vector of error messages corresponding to the input IDs. This character vector is recycled as needed to match the length of inputIds

Value

A list of instances of the S3 class validator. The size of the resulting list equals to the number of input IDs in inputIds.

See Also

validator


beerda/crudtable documentation built on July 13, 2020, 2:16 p.m.