Roo/bootstrap/FieldLabel.js
authoredward <edward@roojs.com>
Wed, 6 Apr 2016 03:44:12 +0000 (11:44 +0800)
committeredward <edward@roojs.com>
Wed, 6 Apr 2016 03:44:12 +0000 (11:44 +0800)
Roo/bootstrap/FieldLabel.js

index f76d7bf..8e40449 100644 (file)
@@ -49,10 +49,14 @@ Roo.extend(Roo.bootstrap.FieldLabel, Roo.bootstrap.Component,  {
     getAutoCreate : function(){
         
         var cfg = {
-            tag: this.tag,
-            cls: this.cls,
-            html: this.html,
-            for: this.for
+            tag : this.tag,
+            cls : this.cls,
+            for : this.for,
+            cn : [
+                {
+                    tag : 'i'
+                }
+            ] 
         };
         
         return cfg;