Skip to content

Commit

Permalink
fix(populateOrganisation) missing configuration assignment in js bind…
Browse files Browse the repository at this point in the history
…ing configuration
  • Loading branch information
mfilip committed Mar 20, 2023
1 parent 52b55af commit ffd9a4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ export const setupPostcodeLookup = (
this.context.style.display = "none"
});
},
populateOrganisation: config.populateOrganisation,
...config.postcodeLookupOverride
},
{
Expand Down Expand Up @@ -235,6 +236,7 @@ export const setupAutocomplete = async (
watchCountry(this.options.outputFields, () => this.attach(), () => this.detach(), true);
},
outputFields,
populateOrganisation: config.populateOrganisation,
...config.autocompleteOverride
},
options
Expand Down

0 comments on commit ffd9a4d

Please sign in to comment.