Skip to content

Commit a695175

Browse files
committed
Add more information to selectInput docs
1 parent f646b1e commit a695175

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

R/bootstrap.R

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -675,9 +675,11 @@ choicesWithNames <- function(choices) {
675675
#' Create a select list that can be used to choose a single or
676676
#' multiple items from a list of values.
677677
#'
678-
#' \code{selectizeInput()} uses the JavaScript library \pkg{selectize.js}
679-
#' (\url{https://github.com/brianreavis/selectize.js}) to extend the basic
680-
#' select input element.
678+
#' By default, \code{selectInput()} and \code{selectizeInput()} use the
679+
#' JavaScript library \pkg{selectize.js} (\url{https://github.com/brianreavis/selectize.js})
680+
#' to instead of the basic select input element. To use the standard HTML select
681+
#' input element, use \code{selectInput()} with \code{selectize=FALSE}.
682+
#'
681683
#' @param inputId Input variable to assign the control's value to
682684
#' @param label Display label for the control
683685
#' @param choices List of values to select from. If elements of the list are

man/selectInput.Rd

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ Create a select list that can be used to choose a single or
4545
multiple items from a list of values.
4646
}
4747
\details{
48-
\code{selectizeInput()} uses the JavaScript library \pkg{selectize.js}
49-
(\url{https://github.com/brianreavis/selectize.js}) to extend the basic
50-
select input element.
48+
By default, \code{selectInput()} and \code{selectizeInput()} use the
49+
JavaScript library \pkg{selectize.js} (\url{https://github.com/brianreavis/selectize.js})
50+
to instead of the basic select input element. To use the standard HTML select
51+
input element, use \code{selectInput()} with \code{selectize=FALSE}.
5152
}
5253
\note{
5354
The selectize input created from \code{selectizeInput()} allows

0 commit comments

Comments
 (0)