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

index 99f4540..d0cfafd 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({