this.onLoad();
-
}else{
this.store.baseParams[this.queryParam] = q;
if(this.allowBlank) {
- var default_text = (this.placeholder.length) ? this.placeholder : '-- SELECT --';
+ var default_text = '-- SELECT --';
+
+ if(this.placeholder.length){
+ default_text = this.placeholder;
+ }
+
+ if(this.emptyTitle.length){
+ default_text += ' - ' + this.emptyTitle + ' -';
+ }
var opt = this.inputEl().createChild({
tag: 'option',