Roo/bootstrap/RadioItem.js
authoredward <edward@roojs.com>
Fri, 17 Nov 2017 03:44:05 +0000 (11:44 +0800)
committeredward <edward@roojs.com>
Fri, 17 Nov 2017 03:44:05 +0000 (11:44 +0800)
Roo/bootstrap/RadioItem.js

index 3c58ace..81b7a12 100644 (file)
@@ -24,6 +24,7 @@ Roo.bootstrap.RadioItem = function(config){
 Roo.extend(Roo.bootstrap.RadioItem, Roo.bootstrap.Component,  {
     
     boxLabel : '',
+    value : '',
     
     getAutoCreate : function()
     {
@@ -34,7 +35,7 @@ Roo.extend(Roo.bootstrap.RadioItem, Roo.bootstrap.Component,  {
                     {
                         tag : 'label',
                         cls : 'radio-item-box-label',
-                        html : (this.boxLabel.length) ? this.boxLabel : ''
+                        html : this.boxLabel
                     }
                 ]
         };