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

index efc6321..bec9181 100644 (file)
@@ -380,16 +380,19 @@ Roo.extend(Roo.bootstrap.TriggerField, Roo.bootstrap.Input,  {
                 cfg.cn = [
                     {
                        tag: 'label',
-                       //cls : 'input-group-addon',
-                       html : this.fieldLabel
+                       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'
+                           }
+                       ]
 
                     },
-                    {
-                       tag : 'i',
-                       cls : 'roo-required-indicator right-indicator text-danger fa fa-lg fa-star',
-                       tooltip : 'This field is required'
-                    },
-                    
                     combobox
 
                 ];