textAreaInput: Create an advanced text area input

View source: R/form.R

textAreaInputR Documentation

Create an advanced text area input

Description

Modifications to 'textAreaInput' to allow added styles

Usage

textAreaInput(
  inputId,
  label,
  value = "",
  width = NULL,
  height = NULL,
  cols = NULL,
  rows = NULL,
  placeholder = NULL,
  resize = c("both", "none", "vertical", "horizontal"),
  style = c("default", "pill", "round", "clean"),
  border.type = c("none", "primary", "secondary", "info", "success", "danger", "warning")
)

Arguments

inputId

The identification name

label

The label for the input

value

The current value of the input

width

width of the text input

height

height of the text input

cols

col of text to display

rows

row of text to display

placeholder

A placeholder text

resize

Make inout resizable, with choices "both", "none", "vertical", "horizontal"

style

Style to adapt, options include "default", "pill", "round", "clean"

border.type

Add a border coloring using either of "none", "primary", "secondary", "info", "success", "danger", "warning"

Value

HTML element of a textAreaInput

Note

For more information on the features of the form, visit the examples section of the help documentation

Examples

textAreaInput("caption",
          "Sample Text area input",
          "Data Summary",
          width = "1000px", border.type = "success"
        )



nextGenShinyApps documentation built on Sept. 11, 2024, 7:38 p.m.