Convert choices_selected to select_spec
cs_to_select_spec(cs, multiple = FALSE, ordered = FALSE, label = "Select")(select_spec)
(choices_selected)
object to be transformed. See teal.transform::choices_selected() for details.
(logical)
Whether multiple values shall be allowed in the
shiny shiny::selectInput().
(logical(1))
Flags whether selection order should be tracked.
(character)
Label to print over the selection field. For no label, set to NULL.