Roo/bootstrap/ComboBox.js
[roojs1] / Roo / bootstrap / ComboBox.js
index 99f4540..08b7336 100644 (file)
@@ -2836,7 +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 + ' -';
             }
             
             var opt = this.inputEl().createChild({