Roo/bootstrap/TriggerField.js
authorjohn <john@roojs.com>
Thu, 7 Dec 2017 04:39:58 +0000 (12:39 +0800)
committerjohn <john@roojs.com>
Thu, 7 Dec 2017 04:39:58 +0000 (12:39 +0800)
Roo/bootstrap/TriggerField.js

index 0398560..8eb5de3 100644 (file)
@@ -303,12 +303,17 @@ Roo.extend(Roo.bootstrap.TriggerField, Roo.bootstrap.Input,  {
                         tag: 'label',
                         'for' :  id,
                         cls : 'control-label',
-                        html : this.fieldLabel
-                    },
-                    {
-                        tag : 'i',
-                        cls : 'roo-required-indicator right-indicator text-danger fa fa-lg fa-star',
-                        tooltip : 'This field is required'
+                        cn : [
+                            {
+                                tag : 'span',
+                                html : this.fieldLabel
+                            },
+                            {
+                                tag : 'i',
+                                cls : 'roo-required-indicator right-indicator text-danger fa fa-lg fa-star',
+                                tooltip : 'This field is required'
+                            }
+                        ]
                     },
                     {
                         cls : "",