Search and Top Navigation
#7302 closed bug (notabug)
Opened April 29, 2011 02:10PM UTC
Closed April 29, 2011 05:25PM UTC
Autocomplete : Change event not fired
Reported by: | mickotaf | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.autocomplete | Version: | 1.8.11 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi,
I think there is is a bug, when you selected an item in autocomplete list.
And next when you delete letter by letter the change event is not fire if the input is empty.
So i change :
_change:function(a){
this.previous!==this.element.val()&&this._trigger("change",a,{
item:this.selectedItem
})
}
by :
_change:function(a){
this.previous!==this._trigger("change",a,{
item:this.selectedItem
})&&this.element.val()
}
And now that's working if the input is empty.
Best Regards
Mickael
Excuse-me form my bad english !!!!!