Hi, I have purchased the Metronic Version and found that the search is not working.
under the inspect element I found that the following errors was given:
TypeError: searchObject.on is not a function. (In 'searchObject.on('kt.search.process', processs)', 'searchObject.on' is undefined)
init -- script.bundle.js:7549
anonymous function -- script.bundle.js:7566
don't know what's wrong and how do I solve this?
I haven't edited any of the bundle.js files
Could you please provide more info? What is your Metronic version and which demo you are using ?
core/html/src/js/layout/search.js and then recompile your assets folder with Gulp or Webpack.
Do not directly edit it inside the assets folder.
Please note that the build tools are required only in the development environment just to compile the assets when the source folder files are modified. In the hosting/server deployment you will only need the compile assets, no need to install the build tools dependencies there.