Add more information to selectInput docs

This commit is contained in:
Winston Chang
2014-03-21 16:30:25 -05:00
parent f646b1efb4
commit a69517519c
2 changed files with 9 additions and 6 deletions

View File

@@ -675,9 +675,11 @@ choicesWithNames <- function(choices) {
#' Create a select list that can be used to choose a single or
#' multiple items from a list of values.
#'
#' \code{selectizeInput()} uses the JavaScript library \pkg{selectize.js}
#' (\url{https://github.com/brianreavis/selectize.js}) to extend the basic
#' select input element.
#' By default, \code{selectInput()} and \code{selectizeInput()} use the
#' JavaScript library \pkg{selectize.js} (\url{https://github.com/brianreavis/selectize.js})
#' to instead of the basic select input element. To use the standard HTML select
#' input element, use \code{selectInput()} with \code{selectize=FALSE}.
#'
#' @param inputId Input variable to assign the control's value to
#' @param label Display label for the control
#' @param choices List of values to select from. If elements of the list are

View File

@@ -45,9 +45,10 @@ Create a select list that can be used to choose a single or
multiple items from a list of values.
}
\details{
\code{selectizeInput()} uses the JavaScript library \pkg{selectize.js}
(\url{https://github.com/brianreavis/selectize.js}) to extend the basic
select input element.
By default, \code{selectInput()} and \code{selectizeInput()} use the
JavaScript library \pkg{selectize.js} (\url{https://github.com/brianreavis/selectize.js})
to instead of the basic select input element. To use the standard HTML select
input element, use \code{selectInput()} with \code{selectize=FALSE}.
}
\note{
The selectize input created from \code{selectizeInput()} allows