Roo/bootstrap/ComboBox.js
authoredward <edward@roojs.com>
Tue, 17 Apr 2018 08:30:38 +0000 (16:30 +0800)
committeredward <edward@roojs.com>
Tue, 17 Apr 2018 08:30:38 +0000 (16:30 +0800)
Roo/bootstrap/ComboBox.js

index d0cfafd..08b7336 100644 (file)
@@ -2836,11 +2836,11 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
             var default_text = '-- SELECT --';
             
             if(this.placeholder.length){
-                default_text = this.placeholder + ' -';
+                default_text = this.placeholder;
             }
             
             if(this.emptyTitle.length){
-                default_text = this.emptyTitle + ' -';
+                default_text = ' - ' + this.emptyTitle + ' -';
             }
             
             var opt = this.inputEl().createChild({