Modifications to 'textAreaInput' to allow added styles

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", "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", "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" )
#> <div class="form-group shiny-input-container"> #> <label id="caption" class="form-label">Sample Text area input</label> #> <textarea class="form-control border-success rounded-0" id="caption" style="width:1000px; height:;resize:both rounded-0">Data Summary</textarea> #> </div>