Roo/bootstrap/ComboBox.js
[roojs1] / Roo / bootstrap / ComboBox.js
index 4887a6f..99f4540 100644 (file)
@@ -2835,6 +2835,10 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
             
             var default_text = '-- SELECT --';
             
+            if(this.placeholder.length){
+                default_text = this.placeholder + ' - ';
+            }
+            
             var opt = this.inputEl().createChild({
                 tag: 'option',
                 value : 0,