views:

90

answers:

2

When you have a remote datasource and min character limit, typing a few letters, deleting them, then typing the same ones gives no results. You can see this on the example: http://jqueryui.com/demos/autocomplete/#remote - try typing 'pi' (get results), delete it and type it again (no results).

Can anyone fix it or work out how to log this bug without becoming a member of the jQuery development team?

A: 

You can log the bug youself at: jQuery UI BugTracker. You need to register. You do not need to become a member of the jQuery development team.

Thierry-Dimitri Roy
Right. I'll do that then, re-reading my original post I sounded very petulant, apologies. I just meant that obviously they don't want spam, but seems like if they want people to help out with bug reports, a lower bar would be nice :)
Ian Grainger
A: 

Any ideas on how to fix this? I'm having the same problem, but it's any number of characters. And it can be repro'd on Ian's link: http://jqueryui.com/demos/autocomplete/#remote. Type in 3 characters, like pit, and erase and retype them.

I found the bug logged at http://forum.jquery.com/topic/autocomplete-repeat-searches-no-results, but I haven't found a solution, and I don't know jquery enough to figure it out.

Any ideas on a workaround?

Jamie
I've not yet looked into this, Jamie. I assume it's because the 'change' handler's not being fired (because the text is the same) SOMEWHERE in the autocomplete code. The best I can say is I will probably need to fix this sometime in the next 3 weeks - and if I do I'll try and get the fix included in jQueryUI.
Ian Grainger
It looks like it's fixed in jQuery UI 1.8.5, but the sample is using 1.8.3 still. I just realized that, and updated my code to use 1.8.5, and all is good. So, if you just update that demo page, it should be fine!
Jamie
Ah! After finding the bug in 1.8.4 (the version on google CDN I was using) I read your comment, thanks!
Ian Grainger