Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many typeahead instances on one page are not working correctly. #492

Closed
jpbecotte opened this issue Oct 21, 2013 · 5 comments
Closed

Many typeahead instances on one page are not working correctly. #492

jpbecotte opened this issue Oct 21, 2013 · 5 comments

Comments

@jpbecotte
Copy link

I am using Typeahead to manipulate many entries in one page. If you use Typeahead many times, and if those instances uses the same dataset name, then this could lead to errors, because one Transport object is created per dataset name.

I have found a work around by naming uniquely all the datasets. But this should be changed. There should be one transport object per Typeahead instance.

Thanks.

@chrisvanhill
Copy link

+1

@fletchowns
Copy link

Yeah I also ran into this issue, ended up having to get them separate names. Which is a bummer since they all use the same underlying data, but now it has to prefetch it multiple times.

@jharding
Copy link
Contributor

Agreed that this isn't ideal. This may have been something I addressed in my v0.10 branch (not sure, just picked up typeahead.js work again after being idle for 5 months). If it's not, I'll make it a priority for v0.10.1.

@fletchowns
Copy link

Woohoo! Good to see you back jharding!

@jharding
Copy link
Contributor

jharding commented Feb 2, 2014

This should have been fixed in v0.10 as transports are no longer shared. Feel free to re-open if I'm wrong.

@jharding jharding closed this as completed Feb 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants