Closed SamusAranX closed 2 years ago
Change
ac = new autoComplete({config});
to
ac = new autoComplete(config);
Well, that was easy. Please adjust the usage instructions here (https://tarekraafat.github.io/autoComplete.js/#/usage?id=_2-script) because they currently tell you to do what I did.
I agree, the instructions new autoComplete({ config })
are misleading. I had the same issue.
I'm using Safari on macOS Monterey.
This is how I tried initializing the autocompletion thing:
Every time I reload the site, I get this error in the console:
What's happening here?