Roo/bootstrap/TriggerField.js
authorMichael <michael@roojs.com>
Thu, 12 Feb 2015 06:12:23 +0000 (14:12 +0800)
committerMichael <michael@roojs.com>
Thu, 12 Feb 2015 06:12:23 +0000 (14:12 +0800)
Roo/bootstrap/TriggerField.js

index 863df51..6680caf 100644 (file)
@@ -290,7 +290,7 @@ Roo.extend(Roo.bootstrap.TriggerField, Roo.bootstrap.Input,  {
         
         Roo.bootstrap.TriggerField.superclass.initEvents.call(this);
         //this.wrap = this.el.wrap({cls: "x-form-field-wrap"});
-        if(!this.multiple){
+        if(!this.multiple && this.showToggleBtn){
             this.trigger = this.el.select('span.dropdown-toggle',true).first();
             if(this.hideTrigger){
                 this.trigger.setDisplayed(false);