Roo/bootstrap/form/Input.js
authorleon <leon@roojs.com>
Tue, 28 Feb 2023 03:44:05 +0000 (11:44 +0800)
committerleon <leon@roojs.com>
Tue, 28 Feb 2023 03:44:05 +0000 (11:44 +0800)
Roo/bootstrap/form/Input.js

index 3ceef28..369240f 100644 (file)
@@ -682,11 +682,12 @@ Roo.extend(Roo.bootstrap.form.Input, Roo.bootstrap.Component,  {
     validate : function(){
         //if(this.disabled || this.validateValue(this.processValue(this.getRawValue()))){
         if(this.disabled || this.validateValue(this.getRawValue())){
-            Roo.log(this.name);
-            Roo.log('MARK INVALID');
             this.markValid();
             return true;
         }
+
+        Roo.log(this.name);
+        Roo.log('MARK INVALID');
         
         this.markInvalid();
         return false;