corejavascript / corejavascript/typeahead.js

Render event fires twice

Open
#262 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
968
Forks
231
PR merge metrics
No merged PRs in 30d

Description

The render event fires twice. Once with an empty array and the second time with the results.
So if we try and use this event to figure out if the query reslted in any data, it won't work.
How can one discover if there were any data returned or did the query return zero results.
Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.