-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Comments
+1 |
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. |
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. |
Woohoo! Good to see you back jharding! |
This should have been fixed in v0.10 as transports are no longer shared. Feel free to re-open if I'm wrong. |
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.
The text was updated successfully, but these errors were encountered: