We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aba3e0a + 9eb794d commit fbdc3b5Copy full SHA for fbdc3b5
src/selectize.js
@@ -766,7 +766,7 @@ $.extend(Selectize.prototype, {
766
var events = silent ? [] : ['change'];
767
768
debounce_events(this, events, function() {
769
- this.clear();
+ this.clear(silent);
770
this.addItems(value, silent);
771
});
772
},
@@ -1436,7 +1436,7 @@ $.extend(Selectize.prototype, {
1436
}
1437
1438
if (!self.options.hasOwnProperty(value)) return;
1439
- if (inputMode === 'single') self.clear();
+ if (inputMode === 'single') self.clear(silent);
1440
if (inputMode === 'multi' && self.isFull()) return;
1441
1442
$item = $(self.render('item', self.options[value]));
0 commit comments