Closed tevch closed 7 years ago
Could it be to do with the case "new york" vs "New York"?
As a test, can I suggest hard coding the returned results instead of actually hitting the API. That might reveal something on interest.
Since you are using the async function your might need async=true
on the component also. This is part of the typeahead API. I wouldn't mix syncResults
and asyncResults
either. Use one or the other.
Since you are using async results you may encounter the following bug:
This sounds like it would be resolved by #46
What happens is this:
searching for phrase "Gardiner" produces 3 results, and displays 3 searching for phrase "new york" produces 13 results, but displays ONLY 2
both searches trigger async geo search
what could be the problem? how would i even start figuring out why some results are not displayed?
Thanks