Convert choices_selected to filter_spec
cs_to_filter_spec(cs, multiple = FALSE, label = "Filter by")(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().
(character)
Label to print over the selection field. For no label, set to NULL.