Skip to contents

Convert choices_selected to select_spec

Usage

cs_to_select_spec(cs, multiple = FALSE, ordered = FALSE, label = "Select")

Arguments

cs

(choices_selected)
object to be transformed. See teal.transform::choices_selected() for details.

multiple

(logical)
Whether multiple values shall be allowed in the shiny shiny::selectInput().

ordered

(logical(1))
Flags whether selection order should be tracked.

label

(character)
Label to print over the selection field. For no label, set to NULL.

Value

(select_spec)