mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-29 03:00:45 -04:00
Add placeholder parameter to updateTextInput (#1742)
* add placeholder parameter * add js placeholder code * roxygenize * grunt * fix updateCheckBoxInput not to use placeholder * simply roxygen * add NEWS * revert grunt
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
\alias{updateTextAreaInput}
|
||||
\title{Change the value of a textarea input on the client}
|
||||
\usage{
|
||||
updateTextAreaInput(session, inputId, label = NULL, value = NULL)
|
||||
updateTextAreaInput(session, inputId, label = NULL, value = NULL,
|
||||
placeholder = NULL)
|
||||
}
|
||||
\arguments{
|
||||
\item{session}{The \code{session} object passed to function given to
|
||||
@@ -15,6 +16,8 @@ updateTextAreaInput(session, inputId, label = NULL, value = NULL)
|
||||
\item{label}{The label to set for the input object.}
|
||||
|
||||
\item{value}{The value to set for the input object.}
|
||||
|
||||
\item{placeholder}{The placeholder to set for the input object.}
|
||||
}
|
||||
\description{
|
||||
Change the value of a textarea input on the client
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
\alias{updateTextInput}
|
||||
\title{Change the value of a text input on the client}
|
||||
\usage{
|
||||
updateTextInput(session, inputId, label = NULL, value = NULL)
|
||||
updateTextInput(session, inputId, label = NULL, value = NULL,
|
||||
placeholder = NULL)
|
||||
}
|
||||
\arguments{
|
||||
\item{session}{The \code{session} object passed to function given to
|
||||
@@ -15,6 +16,8 @@ updateTextInput(session, inputId, label = NULL, value = NULL)
|
||||
\item{label}{The label to set for the input object.}
|
||||
|
||||
\item{value}{The value to set for the input object.}
|
||||
|
||||
\item{placeholder}{The placeholder to set for the input object.}
|
||||
}
|
||||
\description{
|
||||
Change the value of a text input on the client
|
||||
|
||||
Reference in New Issue
Block a user