replace choicesNames with choiceNames, and choicesValues with choiceValues

This commit is contained in:
Barbara Borges Ribeiro
2017-03-22 00:33:50 +00:00
parent c6e1e40896
commit 2b28ea2da4
8 changed files with 78 additions and 80 deletions

View File

@@ -5,8 +5,8 @@
\title{Change the value of a checkbox group input on the client}
\usage{
updateCheckboxGroupInput(session, inputId, label = NULL, choices = NULL,
selected = NULL, inline = FALSE, choicesNames = NULL,
choicesValues = NULL)
selected = NULL, inline = FALSE, choiceNames = NULL,
choiceValues = NULL)
}
\arguments{
\item{session}{The \code{session} object passed to function given to
@@ -25,23 +25,23 @@ must not be provided, and vice-versa.}
\item{inline}{If \code{TRUE}, render the choices inline (i.e. horizontally)}
\item{choicesNames}{List of names and values, respectively,
\item{choiceNames}{List of names and values, respectively,
that are displayed to the user in the app and correspond to the each
choice (for this reason, \code{choicesNames} and \code{choicesValues}
choice (for this reason, \code{choiceNames} and \code{choiceValues}
must have the same length). If either of these arguments is
provided, then the other \emph{must} be provided and \code{choices}
\emph{must not} be provided. The advantage of using both of these over
a named list for \code{choices} is that \code{choicesNames} allows any
a named list for \code{choices} is that \code{choiceNames} allows any
type of UI object to be passed through (tag objects, icons, HTML code,
...), instead of just simple text. See Examples.}
\item{choicesValues}{List of names and values, respectively,
\item{choiceValues}{List of names and values, respectively,
that are displayed to the user in the app and correspond to the each
choice (for this reason, \code{choicesNames} and \code{choicesValues}
choice (for this reason, \code{choiceNames} and \code{choiceValues}
must have the same length). If either of these arguments is
provided, then the other \emph{must} be provided and \code{choices}
\emph{must not} be provided. The advantage of using both of these over
a named list for \code{choices} is that \code{choicesNames} allows any
a named list for \code{choices} is that \code{choiceNames} allows any
type of UI object to be passed through (tag objects, icons, HTML code,
...), instead of just simple text. See Examples.}
}