Roo/bootstrap/ComboBox.js
authorjohn <john@roojs.com>
Thu, 7 Dec 2017 03:32:53 +0000 (11:32 +0800)
committerjohn <john@roojs.com>
Thu, 7 Dec 2017 03:32:53 +0000 (11:32 +0800)
Roo/bootstrap/ComboBox.js

index 032c30f..e07fc0a 100644 (file)
@@ -494,17 +494,18 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
             cfg.cls += ' roo-form-group-label-left';
             
             cfg.cn = [
-                {
-                    tag : 'i',
-                    cls : 'roo-required-indicator left-indicator text-danger fa fa-lg fa-star',
-                    tooltip : 'This field is required'
-                },
                 {
                     tag: 'label',
                     'for' :  id,
                     cls : 'control-label',
                     html : this.fieldLabel
-
+                    cn: [
+                        {
+                            tag : 'i',
+                            cls : 'roo-required-indicator left-indicator text-danger fa fa-lg fa-star',
+                            tooltip : 'This field is required'
+                        }
+                    ]
                 },
                 {
                     cls : "",