Roo/bootstrap/CheckBox.js
authoredward <edward@roojs.com>
Mon, 5 Oct 2015 03:10:34 +0000 (11:10 +0800)
committeredward <edward@roojs.com>
Mon, 5 Oct 2015 03:10:34 +0000 (11:10 +0800)
Roo/bootstrap/CheckBox.js

index 8f7f0dd..a321f85 100644 (file)
@@ -319,7 +319,7 @@ Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input,  {
         if(
                 this.disabled || 
                 (this.inputType == 'radio' && this.getValue().length) ||
-                (this.inputType == 'checkbox' && this.getValue() == this.inputValue)
+                (this.inputType == 'checkbox' && this.validateGroup())
         ){
             this.markValid();
             return true;
@@ -327,6 +327,11 @@ Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input,  {
         
         this.markInvalid();
         return false;
+    },
+    
+    validateGroup : function()
+    {
+        
     }
     
 });