We already have Aloglia InstantSearch implemented on our website and now I am trying to implement Autocomplete for a search bar in the nav.
However, I am struggeling with the following error message:
Uncaught TypeError: container.find(...).selectize is not a function
I am using this CDN for selectize: and is placed after the jquery CDN.
I have tried to ‘npm i selectize’, but that will also not fix the issue.
I am following the example code from https://github.com/algolia/doc-code-samples/tree/master/InstantSearch.js/autocomplete-results-page