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

index 5004adc..c34ee79 100644 (file)
@@ -582,15 +582,17 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
         } else if ( this.fieldLabel.length) {
 //                Roo.log(" label");
                  cfg.cn = [
-                    {
-                        tag : 'i',
-                        cls : 'roo-required-indicator left-indicator text-danger fa fa-lg fa-star',
-                        tooltip : 'This field is required'
-                    },
                     {
                         tag: 'label',
                         //cls : 'input-group-addon',
                         html : this.fieldLabel
+                        cn: [
+                            {
+                                tag : 'i',
+                                cls : 'roo-required-indicator left-indicator text-danger fa fa-lg fa-star',
+                                tooltip : 'This field is required'
+                            }
+                        ]
                         
                     },