shinypanel (version 0.1.2)

selectizeInputWithValidation: selectizeInput with validation utilities

Description

selectizeInput with validation utilities

Usage

selectizeInputWithValidation(
  inputId,
  label,
  options = NULL,
  container_id = NULL,
  help_id = NULL,
  label_title = 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.

options

A list of options. See the documentation of selectize.js for possible options (character option values inside base::I() will be treated as literal JavaScript code; see renderDataTable() for details).

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.

label_title

Optional text to appear in info icon tooltip. Used to provide information to user about input.

See Also

selectizeInputWithButtons, html, addClass, toggleSelectizeButtons.