Roo/bootstrap/ComboBox.js
authorjohn <john@roojs.com>
Tue, 29 May 2018 05:40:47 +0000 (13:40 +0800)
committerjohn <john@roojs.com>
Tue, 29 May 2018 05:40:47 +0000 (13:40 +0800)
Roo/bootstrap/ComboBox.js

index e228463..16d8237 100644 (file)
@@ -1731,8 +1731,6 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
         
         if(this.tickable){
             
-            this.tickItems = [];
-            
             this.okBtn.hide();
             this.cancelBtn.hide();
             this.trigger.show();
@@ -2075,6 +2073,7 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
         }
         
         this.item = [];
+        this.tickItems = [];
         
         Roo.each(this.choices.select('>li.roo-select2-search-choice', true).elements, function(c){
            c.remove();