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 ece3c23 + 4bece8f commit cafc44cCopy full SHA for cafc44c
src/selectize.js
@@ -1892,7 +1892,13 @@ $.extend(Selectize.prototype, {
1892
open: function() {
1893
var self = this;
1894
1895
- if (self.isLocked || self.isOpen || (self.settings.mode === 'multi' && self.isFull())) return;
+ if (
1896
+ self.isLocked ||
1897
+ self.isOpen ||
1898
+ (self.settings.mode === "multi" && self.isFull()) ||
1899
+ self.$control_input.is(":invalid")
1900
+ )
1901
+ return;
1902
self.focus();
1903
self.isOpen = true;
1904
self.refreshState();
0 commit comments