
A selectizeInput customized for data frames with column labels
Source:R/custom_SelectInput.R
columnSelectInput.RdCopied and modified from the IDEAFilter package Adds the option to select "none" which is handled later
Usage
columnSelectInput(
inputId,
label,
data,
selected = "",
...,
col_subset = NULL,
placeholder = "",
onInitialize,
none_label = "No variable selected",
maxItems = NULL
)Arguments
- inputId
passed to
selectizeInput- label
passed to
selectizeInput- data
data.frameobject from which fields should be populated- selected
default selection
- ...
passed to
selectizeInput- col_subset
a
vectorcontaining the list of allowable columns to select- placeholder
passed to
selectizeInputoptions- onInitialize
passed to
selectizeInputoptions- none_label
label for "none" item
- maxItems
max number of items
Value
a selectizeInput dropdown element