mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2025-12-16 09:32:10 +01:00
1.2 KiB
1.2 KiB
A selectizeInput customized for data frames with column labels
Copied 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