Update a Select List with a Vector
Usage
update_selectize_values(
id,
x,
exclude = reactive({
NULL
}),
preserve = TRUE,
none = TRUE,
server = TRUE
)
Arguments
- id
A
character
string specifying the namespace (must matchselectize_ui()
).- x
A reactive
character
vector.- exclude
A reactive
character
vector of values to exclude.- preserve
A
logical
scalar: should existing selection be preserved on update?- none
A
logical
scalar: should a placeholder be added as the first element?- server
A
logical
scalar: should server-side selectize be used?
Value
A reactive character
vector of column names.