throw "can not find store for combo";
}
+ this.indicator = this.indicatorEl();
+
this.store = Roo.factory(this.store, Roo.data);
this.store.parent = this;
if(this.lastQuery != q || this.alwaysQuery){
this.lastQuery = q;
if(this.mode == 'local'){
+
this.selectedIndex = -1;
if(forceAll){
this.store.clearFilter();
this.onLoad();
-
}else{
this.store.baseParams[this.queryParam] = q;
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',
value : 0,