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

index 71e1d2c..77c969f 100644 (file)
@@ -597,32 +597,25 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
                         tag: 'label',
                         //cls : 'input-group-addon',
                         html : this.fieldLabel
-                        
                     },
-                    
                     combobox
-                    
                 ];
                 
                 if(this.indicatorpos == 'right'){
                     Roo.log('hidden name:'+this.hiddenName);
                     cfg.cn = [
-                        {
+                       {
+                           tag : 'i',
+                           cls : 'roo-required-indicator left-indicator text-danger fa fa-lg fa-star',
+                           tooltip : 'This field is required'
+                       },
+                       {
                            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
-                    ];
+                           //cls : 'input-group-addon',
+                           html : this.fieldLabel
+                       },
+                       combobox
+                   ];
                     
                 }