Roo/bootstrap/Input.js
authorKH Lau <khlau@roojs.com>
Tue, 9 Jan 2018 07:29:03 +0000 (15:29 +0800)
committerKH Lau <khlau@roojs.com>
Tue, 9 Jan 2018 07:29:03 +0000 (15:29 +0800)
Roo/bootstrap/Input.js

index 009c0db..0117179 100644 (file)
@@ -642,8 +642,8 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
         if(value.length < 1)  { // if it's blank
             if(this.allowBlank){
                 return true;
-            }
-            return false;
+            }            
+            return this.inputEl().hasClass('hide') ? true : false;
         }
         
         if(value.length < this.minLength){