Closed jaimefuhr closed 1 year ago
Tried the latest and one version back. Getting these two errors with the latest version:
Uncaught SyntaxError: Unexpected token 'export' (at autocomplete.js:1:880).
line 880: export default Autocomplete;
My code:
Autocomplete.init("input.autocomplete", { liveServer: "/services/CustomerLookup.ashx", suggestionsThreshold: 3, valueField: "value", labelField: "label", highlightTyped: true, onSelectItem: console.log });
I forgot to include type="module" to the script reference.
Tried the latest and one version back. Getting these two errors with the latest version:
Uncaught SyntaxError: Unexpected token 'export' (at autocomplete.js:1:880).
line 880: export default Autocomplete;
My code:
Autocomplete.init("input.autocomplete", { liveServer: "/services/CustomerLookup.ashx", suggestionsThreshold: 3, valueField: "value", labelField: "label", highlightTyped: true, onSelectItem: console.log });