You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Causes this error: Uncaught ReferenceError: countries is not defined
also, trying to register the engine in POS_HEAD causes this error: Uncaught ReferenceError: Bloodhound is not defined because usually all JS assets in Yii2 are loaded at the end of the body.
So... we have a small egg chicken problem here, was wondering if you can just exclude the position from your registerJs call and everything will be positioned automatically by yii in the right order in the footer <script> tag.
Thank you!
The text was updated successfully, but these errors were encountered:
When used in conjunction with a typeahead engine, the order of the registered JS is a problem:
Causes this error:
Uncaught ReferenceError: countries is not defined
also, trying to register the engine in
POS_HEAD
causes this error:Uncaught ReferenceError: Bloodhound is not defined
because usually all JS assets in Yii2 are loaded at the end of the body.So... we have a small egg chicken problem here, was wondering if you can just exclude the position from your registerJs call and everything will be positioned automatically by yii in the right order in the footer <script> tag.
Thank you!
The text was updated successfully, but these errors were encountered: