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') || !this.getVisibilityEl().isVisible(true)){
+ return true;
+ }
+
var v = this.getRawValue();
if(this.multiple){