Roo/bootstrap/DateField.js
authorEdward <edward@roojs.com>
Tue, 10 Jul 2018 06:32:42 +0000 (14:32 +0800)
committerEdward <edward@roojs.com>
Tue, 10 Jul 2018 06:32:42 +0000 (14:32 +0800)
Roo/bootstrap/DateField.js

index f786358..4f7e916 100644 (file)
@@ -930,6 +930,10 @@ Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input,  {
     
     validateValue : function(value)
     {
+        if(this.getEl().hasClass('hidden')){
+            return true;
+        }
+        
         if(value.length < 1)  {
             if(this.allowBlank){
                 return true;