Roo/bootstrap/CheckBox.js
authorjohn <john@roojs.com>
Wed, 1 Nov 2017 02:49:43 +0000 (10:49 +0800)
committerjohn <john@roojs.com>
Wed, 1 Nov 2017 02:49:43 +0000 (10:49 +0800)
Roo/bootstrap/CheckBox.js

index 6c37d52..4e44c4f 100644 (file)
@@ -442,6 +442,7 @@ Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input,  {
         }
         
         if(this.inputType == 'radio'){
+            Roo.log("name: "+this.name);
             Roo.each(this.el.up('form').select('input[name='+this.name+']', true).elements, function(e){
                 e.findParent('.form-group', false, true).removeClass([_this.invalidClass, _this.validClass]);
                 e.findParent('.form-group', false, true).addClass(_this.validClass);