Coveo for sitecore SearchBox in IE11 not working
We have the standard coveo search box on our customer's site.
On Firefox, Chrome, Safari and edge everything works as intended.
But on IE the search box isn't rendered.
https://www.melexis.com/ (top right)
We're getting these messages in the console:
SCRIPT5009: 'Promise' is undefined
SCRIPT5007: Unable to get property 'addCultureInfo' of undefined or null reference
SCRIPT438: Object doesn't support property or method '$'
Are the components supported on IE11?
Current Coveo for Sitecore version: 4.1.342.10
Current Sitecore version: 8.2.161221
IE version 11.1266.15063.0
Any help is appreciated
I recommend you open a support ticket with this issue.
The workaround for this is to add a reference to a `Promise` polyfill like this one: https://github.com/stefanpenner/es6-promise
You could simply add the following snippet somewhere on the page, before the Coveo search resources are defined:
<!-- Automatically provides/replaces `Promise` if missing or broken. --> <script src="https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.js"></script> <script src="https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.auto.js"></script> <!-- Minified version of `es6-promise-auto` below. --> <script src="https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.auto.min.js"></script>