textInputWithValidation: textInput with validation

View source: R/textInputWithButtons.R

textInputWithValidationR Documentation

textInput with validation

Description

textInput with validation

Usage

textInputWithValidation(
  inputId,
  label,
  value = "",
  container_id = NULL,
  help_id = NULL
)

Arguments

inputId

The input slot that will be used to access the value.

label

Display label for the control, or NULL for no label.

value

Initial value.

container_id

id for outer div (optional). Can use e.g. to add 'has-error' class to style inputs with shinyjs::addClass.

help_id

id for span with class 'help-block' below input (optional). Can be used for add error message with shinyjs::html.


shinypanel documentation built on March 26, 2022, 1:07 a.m.