Skip to contents

A selectizeInput customized for data frames with column labels

Usage

columnSelectInput(
  inputId,
  label,
  data,
  choices = names,
  selected = "",
  ...,
  placeholder = "",
  onInitialize
)

Arguments

inputId

passed to selectizeInput

label

passed to selectizeInput

data

data.frame object from which fields should be populated

choices

a list of values to select from, passed to selectizeInput. Alternatively, choices may also be a function used to extract choices from a (possibly filtered) data. Defaults to the names of data.

selected

default selection

...

passed to selectizeInput

placeholder

passed to selectizeInput options

onInitialize

passed to selectizeInput options

Value

a selectizeInput dropdown element