examples/bootstrap/RadioSet.bjs
authoredward <edward@roojs.com>
Tue, 21 Nov 2017 02:54:09 +0000 (10:54 +0800)
committeredward <edward@roojs.com>
Tue, 21 Nov 2017 02:54:09 +0000 (10:54 +0800)
examples/bootstrap/RadioSet.js

examples/bootstrap/RadioSet.bjs
examples/bootstrap/RadioSet.js

index 4f0f7d7..4f27f6d 100644 (file)
            "String style" : "margin-top: 15px;",
            "items" : [
             {
+             "listeners" : {
+              "click" : "function (_self, e)\n{\n    _this.form.isValid();\n}"
+             },
              "String weight" : "primary",
              "xtype" : "Button",
              "$ xns" : "Roo.bootstrap",
index a1c34ac..706ad71 100644 (file)
@@ -190,6 +190,12 @@ RadioSet = new Roo.XComponent({
              xtype : 'Button',
              html : _this._strings['ad3d06d03d94223fa652babc913de686'] /* Validate */,
              weight : 'primary',
+             listeners : {
+              click : function (_self, e)
+               {
+                   _this.form.isValid();
+               }
+             },
              xns : Roo.bootstrap,
              '|xns' : 'Roo.bootstrap'
             }