Skip to content

Commit

Permalink
Work around a selectize bug (re-fixes rstudio#3966)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvg-p4 committed Oct 10, 2024
1 parent abf7138 commit 1d043c1
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 14 deletions.
4 changes: 1 addition & 3 deletions inst/www/shared/shiny.js
Original file line number Diff line number Diff line change
Expand Up @@ -10662,10 +10662,8 @@
}
if (hasDefinedProperty(data, "url")) {
var _selectize2 = this._selectize(el);
_selectize2.clear();
_selectize2.clearOptions();
if (hasDefinedProperty(data, "value")) {
_selectize2.clear();
}
var loaded = false;
_selectize2.settings.load = function(query, callback) {
var settings = _selectize2.settings;
Expand Down
Loading

0 comments on commit 1d043c1

Please sign in to comment.