@@ -153,6 +153,10 @@
},
beforeDestroy() {
+ let index = this.select.cachedOptions.indexOf(this);
+ if (index > -1) {
+ this.select.cachedOptions.splice(index, 1);
+ }
this.select.onOptionDestroy(this.select.options.indexOf(this));
}
};