Some code to include css and js for includeSelect2. This is provide so that
the user can have access to select2 even if they only use it in the dynamic
UI
List of values to select from. If elements of the list are
named then that name rather than the value is displayed to the user.
selected
Name of initially selected item (or multiple names if
multiple = TRUE). If not specified then defaults to the first item
for single-select lists and no items for multiple select lists.
type
The two valid options are input and select. The input type is
similar to a text input and it can remember the order of selection. The
select is based on the <select> tags in HTML and is not ordinal hence the
order in which you specify the selection is not being taken into account,
however it's input parameters are compatible with selectInput and you can
use updateSelectInput to update its contents.
drag.and.drop
Allow drag and drop or not
...
Other arguments to pass into shiny::selectInput
session
The Shiny session
Value
A select list control that can be added to a UI definition.#'
`includeSelect2` returns the HTML to include the Javascripot and CSS of select2.js