Roo/bootstrap/TriggerField.js
authorAlan Knowles <alan@roojs.com>
Tue, 18 Jul 2017 10:07:48 +0000 (18:07 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 18 Jul 2017 10:07:48 +0000 (18:07 +0800)
Roo/bootstrap/TriggerField.js

index f262b37..71b1e3c 100644 (file)
@@ -268,7 +268,7 @@ Roo.extend(Roo.bootstrap.TriggerField, Roo.bootstrap.Input,  {
             combobox.cls += ' roo-select2-container-multi';
         }
         
-        if (align ==='left' && this.fieldLabel.length) {
+        if (align ==='left' && this.fieldLabel.length && this.labelWidth) {
             
 //                Roo.log("left and has label");
                 cfg.cn = [