Skip to content

Commit 8c3ea2f

Browse files
committed
Fix for existing selection not being updated after removeOption call.
1 parent 382dde0 commit 8c3ea2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/selectize.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -959,6 +959,7 @@ Selectize.prototype.removeOption = function(value) {
959959
delete this.options[value];
960960
this.lastQuery = null;
961961
this.trigger('onOptionRemove', value);
962+
this.removeItem(value);
962963
};
963964

964965
/**

0 commit comments

Comments
 (0)