-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module not always loading correctly #59
Comments
We have the same issue on M2.4.4 |
We temporarily fixed it by creating a mixin on Flekto_Postcode/web/js/form/components/address-autofill-nl.js
It's not the prettiest, but we haven't encountered the issue since. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The module sometimes fails to load correctly, resulting in all the address fields to just show instantly (not the postcode + huisnr autocomplete fields). This happens in 1 out of 10 times or so, using an incognito browser. You need a fresh incognito session to get the error. The error in console:
jQuery.Deferred exception: this.addressFields is not a function TypeError: this.addressFields is not a function at UiClass.onChangeCountry (https://xxxx/nl_NL/Flekto_Postcode/js/form/components/address-autofill-nl.js:76:18)
You then see all fields directly on load:
The text was updated successfully, but these errors were encountered: