twitter / typeahead.js

typeahead.js is a fast and fully-featured autocomplete library
http://twitter.github.io/typeahead.js/
MIT License
16.52k stars 3.21k forks source link

Transport restricts number of multiple remote datasets #1258

Open tcrossland opened 9 years ago

tcrossland commented 9 years ago

I've got a typeahead with up to 9 remote datasets, but only the first 6 are being queried. It seems that this is controlled by the maxPendingRequests variable in the Transport class, but I can't figure out how to change the default value of 6.

Is it possible to change this value programatically? If so, a documentation snippet would be useful.

This page describes a similar issue, but the solution doesn't work with v0.11.1.

tcrossland commented 9 years ago

Just seen this is a duplicate of #1204

sbsurf commented 8 years ago

+1