I’m using autocomplete.js to develop an input search that pops an autocomplete dropdown with facet values (instead of the default behaviour - showing products).
I’m using this example:
with this code provided by Haroen Viaene:
When performing a search, the results won’t show on the autocomplete dropdown.
I’m pretty sure the search returns results because they appear as facetHits on Chrome inspector Network tab.
Here is my code:
What should I do in order to make the search results appear on the autocomplete dropdown?
Thanks in advance.