Roo/bootstrap/ComboBox.js
authorAlan Knowles <alan@roojs.com>
Tue, 13 Feb 2018 09:01:23 +0000 (17:01 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 13 Feb 2018 09:01:23 +0000 (17:01 +0800)
Roo/bootstrap/ComboBox.js

index 7984e76..eb73e90 100644 (file)
@@ -2366,10 +2366,11 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
                         ]
                     }
                 ];
+                labelCfg = cfg.cn[0];
+                contentCfg = cfg.cn[1];
             }
             
-            labelCfg = cfg.cn[0];
-            contentCfg = cfg.cn[2];
+           
             
             if(this.labelWidth > 12){
                 labelCfg.style = "width: " + this.labelWidth + 'px';