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

Control gets stuck when callback function triggered with empty array #258

Closed
a-yakimov opened this issue Jun 6, 2016 · 0 comments
Closed
Labels
DEPRECATED jquery-textcomplete Issues associated to jquery-textcomplete (was DEPRECATED)

Comments

@a-yakimov
Copy link

Hello @yuku-t ,

Let me first thank you for this nice control. It's a great work.

I bumped into an issue recently that brings control into unresponsive state.
When callback function is triggered from a strategy.search function with an empty array, then control throws an error in dropdown.render(zippedData) function. I was able to pass the check "if (this.data.length) { in line 449" and after control expects that array zippedData should have at least one element and rely that first element will have a strategy property. This error related to version 1.3.3.

Thank you,
Alex

yuku pushed a commit that referenced this issue Sep 12, 2016
@yuku yuku closed this as completed Jun 15, 2020
@yuku yuku added the DEPRECATED jquery-textcomplete Issues associated to jquery-textcomplete (was DEPRECATED) label Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DEPRECATED jquery-textcomplete Issues associated to jquery-textcomplete (was DEPRECATED)
Projects
None yet
Development

No branches or pull requests

2 participants