We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3581d7a commit e02a704Copy full SHA for e02a704
DESCRIPTION
@@ -42,7 +42,7 @@ Imports:
42
vctrs,
43
tibble,
44
lazyeval (>= 0.2.0),
45
- rlang,
+ rlang (>= 0.4.10),
46
crosstalk,
47
purrr,
48
data.table,
R/utils.R
@@ -379,7 +379,9 @@ supply_highlight_attrs <- function(p) {
379
380
# include one selectize dropdown per "valid" SharedData layer
381
if (isTRUE(p$x$highlight$selectize)) {
382
- p$x$selectize[[i]] <- list(
+ # Hash i (the crosstalk group id) so that it can be used
383
+ # as an HTML id client-side (i.e., key shouldn't contain spaces)
384
+ p$x$selectize[[rlang::hash(i)]] <- list(
385
items = data.frame(value = k, label = k), group = i
386
)
387
}
0 commit comments