Roo/bootstrap/ComboBox.js
authorjohn <john@roojs.com>
Wed, 3 Jan 2018 07:38:01 +0000 (15:38 +0800)
committerjohn <john@roojs.com>
Wed, 3 Jan 2018 07:38:01 +0000 (15:38 +0800)
Roo/bootstrap/ComboBox.js

index 57cb364..a39a5cc 100644 (file)
@@ -587,25 +587,22 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
                 
         } else if ( this.fieldLabel.length) {
 //                Roo.log(" label");
-cfg.cn = [
-    {
-       tag: 'label',
-       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'
-           }
-       ]
-
-    },
-    combobox
-
-];
+                 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
+                        
+                    },
+                    
+                    combobox
+                    
+                ];
                 
                 if(this.indicatorpos == 'right'){