Closed TomasKulhanek closed 7 years ago
Within vendor-bundle, there is declared bluebird.js config which may collide with Angular2 - setting the environment.js debug:false - leads to longStackTrace to be false as well and Aurelia APP bootstraps and shows correctly, however, pdb-autocomplete-component fails with another error:
Error: Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.
Most likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)
Rewritten the autocomplete component into Aurelia framework. Basic functionality seems working. Code integrated into VF web UI.
Adding autocomplete scripts to HTML
Cause the following: