Opened 12 years ago

Closed 12 years ago

#7634 closed bug (duplicate)

Solution for ticket #5933 and #6730

Reported by: marship Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.autocomplete Version: 1.8.15
Keywords: Cc:
Blocked by: Blocking:


Hi. I found same issue with Chinese input. I reviewed your post in ticket #5933 and #6730. You're focus in keydown and keypress event which is unreliable.

I am proposing my solution to keep track of focus and blur to test value change. It works well in firefox for Chinese. the solution is when get focus , keep a interval timer. this.input.focus(function(){

this.key_sim = setInterval(function(){

if(self.input.val().length > 0 &&'lastValue') != self.input.val())

{'lastValue', self.input.val()); self.input.autocomplete( "search" ,self.input.val());


}, 200);


And when blur, clear the interval.

this.input.blur(function(e) {



It works fine. so please consider this.

Regards. Scott

Change History (1)

comment:1 Changed 12 years ago by Scott González

Component: ui.coreui.autocomplete
Resolution: duplicate
Status: newclosed

Using an interval was already suggested, but we have yet to see a good path for this. Feel free to send a pull request against one of the previous tickets.

Version 0, edited 12 years ago by Scott González (next)
Note: See TracTickets for help on using tickets.