Roo/bootstrap/ComboBox.js
authorjohn <john@roojs.com>
Thu, 7 Dec 2017 02:21:55 +0000 (10:21 +0800)
committerjohn <john@roojs.com>
Thu, 7 Dec 2017 02:21:55 +0000 (10:21 +0800)
Roo/bootstrap/ComboBox.js

index 2b9df17..b6325d4 100644 (file)
@@ -2123,7 +2123,6 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
     
     validate : function()
     {
-        return;
         var v = this.getRawValue();
         
         if(this.multiple){
@@ -2131,11 +2130,11 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
         }
         
         if(this.disabled || this.allowBlank || v.length){
-            this.markValid();
+            //this.markValid();
             return true;
         }
         
-        this.markInvalid();
+        //this.markInvalid();
         return false;
     },