File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ supply_highlight_attrs <- function(p) {
379
379
380
380
# include one selectize dropdown per "valid" SharedData layer
381
381
if (isTRUE(p $ x $ highlight $ selectize )) {
382
- p $ x $ selectize [[new_id() ]] <- list (
382
+ p $ x $ selectize [[i ]] <- list (
383
383
items = data.frame (value = k , label = k ), group = i
384
384
)
385
385
}
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ HTMLWidgets.widget({
74
74
} ) ;
75
75
76
76
// inject a "control panel" holding selectize/dynamic color widget(s)
77
- if ( x . selectize || x . highlight . dynamic && ! instance . plotly ) {
77
+ if ( ( x . selectize || x . highlight . dynamic ) && ! instance . plotly ) {
78
78
var flex = document . createElement ( "div" ) ;
79
79
flex . class = "plotly-crosstalk-control-panel" ;
80
80
flex . style = "display: flex; flex-wrap: wrap" ;
You can’t perform that action at this time.
0 commit comments