Skip to content

Commit 83190aa

Browse files
authored
fix refresh action (#2816)
Co-authored-by: SimonTod <simon.todeschini@e-logik.fr>
1 parent 881aef6 commit 83190aa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

js/bootstrap-select.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3419,6 +3419,8 @@
34193419
var config = $.extend({}, this.options, getAttributesObject(this.$element), this.$element.data()); // in this order on refresh, as user may change attributes on select, and options object is not passed on refresh
34203420
this.options = config;
34213421

3422+
this.selectpicker.main.data = [];
3423+
34223424
if (this.options.source.data) {
34233425
this.render();
34243426
this.buildList();

0 commit comments

Comments
 (0)