[x] This is not a general programming / coding question. (Those should be directed to the webtips Q & A forum).
[x] This is not a source plugin (typeahead) issue. (Those should be directed to the plugin issues repo).
[x] I have attempted to find the simplest possible steps to reproduce the issue.
[ ] I have included a failing test as a pull request (Optional).
Steps to reproduce the issue
First time when the page load no console error in the browser
Reloading the page I will get this errors:
typeahead.bundle.js:13 Uncaught ReferenceError: module is not defined
at typeahead.bundle.js:13:9
at typeahead.bundle.js:17:3
(anonymous) @ typeahead.bundle.js:13
(anonymous) @ typeahead.bundle.js:17Understand this errorAI
jquery.js:3869 Uncaught ReferenceError: Bloodhound is not defined
at HTMLDocument.<anonymous> (update?id=1966412771:1882:22)
at mightThrow (jquery.js:3583:29)
at process (jquery.js:3651:12)
All the reloads of the page will have these errors unless I clear cache and hard reload the page
Prerequisites
master
branch of yii2-widget-typeahead.Steps to reproduce the issue
First time when the page load no console error in the browser
Reloading the page I will get this errors:
All the reloads of the page will have these errors unless I clear cache and hard reload the page
Expected behavior and actual behavior
When I follow those steps, I see...
I was expecting...
Environment
Browsers
Operating System
Libraries
Isolating the problem