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

index 0e1d4e8..e24c54b 100644 (file)
@@ -2833,7 +2833,7 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
         
         if(this.allowBlank) {
             
-            var default_text = this.placeholder;
+            var default_text = (this.placeholder.length) ? this.placeholder : '-- SELECT --';
             
             var opt = this.inputEl().createChild({
                 tag: 'option',