Roo/bootstrap/TriggerField.js
authoredward <edward@roojs.com>
Thu, 23 Nov 2017 11:08:17 +0000 (19:08 +0800)
committeredward <edward@roojs.com>
Thu, 23 Nov 2017 11:08:17 +0000 (19:08 +0800)
Roo/bootstrap/ComboBox.js

Roo/bootstrap/ComboBox.js
Roo/bootstrap/TriggerField.js

index 43a3ca9..4ec71c2 100644 (file)
@@ -2362,6 +2362,7 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
             }
             
             labelCfg = cfg.cn[0];
+            contentCfg = cfg.cn[2];
             
             if(this.labelWidth > 12){
                 labelCfg.style = "width: " + this.labelWidth + 'px';
index 34fe2ec..f712ecb 100644 (file)
@@ -319,6 +319,7 @@ Roo.extend(Roo.bootstrap.TriggerField, Roo.bootstrap.Input,  {
                 ];
                 
                 labelCfg = cfg.cn[0];
+                contentCfg = cfg.cn[2];
             }
             
             if(this.labelWidth > 12){