examples/bootstrap/RadioSet.bjs
authoredward <edward@roojs.com>
Fri, 17 Nov 2017 03:52:24 +0000 (11:52 +0800)
committeredward <edward@roojs.com>
Fri, 17 Nov 2017 03:52:24 +0000 (11:52 +0800)
examples/bootstrap/RadioSet.js

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

index 0d43f3f..ec19661 100644 (file)
@@ -21,6 +21,9 @@
      "$ xns" : "Roo.bootstrap",
      "items" : [
       {
+       "listeners" : {
+        "render" : "function (_self)\n{\n    _this.form = this;\n}"
+       },
        "xtype" : "Form",
        "$ xns" : "Roo.bootstrap",
        "items" : [
index da75166..3895f0a 100644 (file)
@@ -34,6 +34,12 @@ RadioSet = new Roo.XComponent({
      items  : [
       {
        xtype : 'Form',
+       listeners : {
+        render : function (_self)
+         {
+             _this.form = this;
+         }
+       },
        xns : Roo.bootstrap,
        '|xns' : 'Roo.bootstrap',
        items  : [