Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

textAreaInput

Create a semantic Text Area input


Description

Create a text area input control for entry of unstructured text values.

Usage

textAreaInput(inputId, label, value = "", width = NULL, placeholder = NULL)

Arguments

inputId

Input name. Reactive value is available under input[[input_id]].

label

character with label put above the input

value

Pass value if you want to have default text.

width

The width of the input, eg. "40px"

placeholder

Text visible in the input when nothing is inputted.

Examples

## Only run examples in interactive R sessions
if (interactive()) {
ui <- semanticPage(
  textAreaInput("a", "Area:", width = "200px"),
  verbatimTextOutput("value")
)
server <- function(input, output, session) {
  output$value <- renderText({ input$a })
}
shinyApp(ui, server)
}

shiny.semantic

Semantic UI Support for Shiny

v0.4.2
MIT + file LICENSE
Authors
Filip Stachura [aut], Dominik Krzeminski [cre], Krystian Igras [aut], Adam Forys [aut], Paweł Przytuła [aut], Jakub Chojna [aut], Olga Mierzwa-Sulima [aut], Ashley Baldry [ctb], Jakub Chojna [ctb], Olga Mierzwa-Sulima [ctb], Pedro Manuel Coutinho da Silva [ctb], Paweł Przytuła [ctb], Kamil Żyła [ctb], Rabii Bouhestine [ctb], Appsilon Sp. z o.o. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.