Stepper TypeError: searchObject.on is not a function
Hello,
I have a problem on the stepper.
I tried uselessly to follow the steps and I'm having the same issue.
My steps:
1) Add references:
<head>
<link href="assets/css/style.bundle.css" rel="stylesheet" type="text/css"/>
<script src="assets/js/scripts.bundle.js"></script>
...
</head>
<body> {the html code provided on the doc}
...
on my html file
2) Add the script at the end of my body (to simplify):
...
<script> {the js code provided on the doc } </script>
</body> I'm receiving the error:
TypeError: searchObject.on is not a function
init search.js:150
js search.js:167
onDOMContentLoaded util.js:1579
js search.js:166
Replies (1)
Hi,
It seems you are not using the Quick Search element in the header. If that is the case please try to remove src/js/layout/search.js script from your build and recompile the assets.
If you need any further clarifications please do let us know.
Regards.