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;
}
* Hides the dropdown list if it is currently expanded. Fires the 'collapse' event on completion.
*/
collapse : function(){
-
- this.hasFocus = false;
-
if(!this.isExpanded()){
return;
}
this.list.hide();
+ 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){