From 7f09856830e2a972063ec9808fe7d4a7af24fa20 Mon Sep 17 00:00:00 2001 From: edward Date: Tue, 17 Apr 2018 16:29:56 +0800 Subject: [PATCH] Roo/bootstrap/ComboBox.js --- Roo/bootstrap/ComboBox.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Roo/bootstrap/ComboBox.js b/Roo/bootstrap/ComboBox.js index e24c54b4ff..99f4540ae1 100644 --- a/Roo/bootstrap/ComboBox.js +++ b/Roo/bootstrap/ComboBox.js @@ -2833,7 +2833,11 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, { if(this.allowBlank) { - var default_text = (this.placeholder.length) ? this.placeholder : '-- SELECT --'; + var default_text = '-- SELECT --'; + + if(this.placeholder.length){ + default_text = this.placeholder + ' - '; + } var opt = this.inputEl().createChild({ tag: 'option', -- 2.39.2