mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-30 09:18:33 -05:00
30 lines
543 B
R
30 lines
543 B
R
\name{textInput}
|
|
\alias{textInput}
|
|
\title{Create a text input control}
|
|
\usage{
|
|
textInput(inputId, label, value = "")
|
|
}
|
|
\arguments{
|
|
\item{inputId}{Input variable to assign the control's
|
|
value to}
|
|
|
|
\item{label}{Display label for the control}
|
|
|
|
\item{value}{Initial value}
|
|
}
|
|
\value{
|
|
A text input control that can be added to a UI
|
|
definition.
|
|
}
|
|
\description{
|
|
Create an input control for entry of unstructured text
|
|
values
|
|
}
|
|
\examples{
|
|
textInput("caption", "Caption:", "Data Summary")
|
|
}
|
|
\seealso{
|
|
\code{\link{updateTextInput}}
|
|
}
|
|
|