throw "can not find store for combo";
}
+ this.indicator = this.indicatorEl();
+
this.store = Roo.factory(this.store, Roo.data);
this.store.parent = this;
// private
onEmptyResults : function(){
+ Roo.log('empty result call');
if(this.tickable && this.editable){
this.restrictHeight();
return;
this.hasFocus = false;
if(this.tickable){
+
this.okBtn.hide();
this.cancelBtn.hide();
this.trigger.show();
onSearchFieldClick : function(e)
{
+ Roo.log('in???');
+ Roo.log([this.hasFocus, e.getTarget().nodeName.toLowerCase() ]);
+
if(this.hasFocus && !this.disabled && e.getTarget().nodeName.toLowerCase() != 'button'){
+ Roo.log('onSearchFieldClick');
this.onTickableFooterButtonClick(e, false, false);
return;
}
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,