if(this.tickable){
+ Roo.log(e.getTarget().nodeName.toLowerCase());
if(typeof(e) != 'undefined' && e.getTarget().nodeName.toLowerCase() != 'input'){
return;
}
onEmptyResults : function(){
if(this.tickable && this.editable){
+ this.hasFocus = false;
this.restrictHeight();
- // return;
+ return;
}
- Roo.log(this.isExpanded());
+
this.collapse();
},
this.hasFocus = false;
if(this.tickable){
-
this.okBtn.hide();
this.cancelBtn.hide();
this.trigger.show();
validate : function()
{
+ if(this.getVisibilityEl().hasClass('hidden')){
+ return true;
+ }
+
var v = this.getRawValue();
if(this.multiple){