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:
Carl Ganz
2017-06-15 20:00:39 -07:00
committed by Winston Chang
parent 3817370d4e
commit 8b5d12b958
5 changed files with 23 additions and 7 deletions

View File

@@ -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

View File

@@ -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