textInputWithButtons: textInput with buttons and validation

View source: R/textInputWithButtons.R

textInputWithButtonsR Documentation

textInput with buttons and validation

Description

textInput with buttons and validation

Usage

textInputWithButtons(
  inputId,
  label,
  ...,
  value = "",
  container_id = NULL,
  help_id = NULL,
  label_title = NULL,
  btn_titletips = TRUE,
  placeholder = "",
  width = 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.

...

One or more actionButton's to appear to right of input element.

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.

label_title

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

btn_titletips

if TRUE (default), converts title attributes of actionButtons into tooltips.

placeholder

A character string giving the user a hint as to what can be entered into the control. Internet Explorer 8 and 9 do not support this option.

width

The width of the input, e.g. '400px', or '100%'; see validateCssUnit().


alexvpickering/shinypanel documentation built on April 1, 2022, 10:52 p.m.