commadelimited/autoComplete.js

plugin don't support quick requests

Closed this issue · 1 comments

I use version 1.5.1 with remote data source to fill a city list.
When I fill input to quickly, the list is not updated with the last request.
For example when I tape "Toulou", I don't expect to have "Toulon" in result list.
In firebug I saw that it's because request for "Toulo" succeed after request for "Toulou".

I had a look to the plugin code and I found the cancelRequests param which seems to fix my problem :)

Maybe you could update the online documentation which actually don't mention this param ?