Skip to content

Module not always loading correctly #59

@HyperC

Description

@HyperC

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:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions