Skip to content
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

Avoid js error in addressbook when housenumber or addition are empty #372

Merged
merged 1 commit into from
May 22, 2024

Conversation

brenbl
Copy link

@brenbl brenbl commented Oct 20, 2023

In rare cases the housenumber field can be empty.
For housenumber addition it is normal to be empty. This breaks the postcode validation.

This fixes the error on the customer account addressbook page: Uncaught SyntaxError: Unexpected token ';'

In rare cases the housenumber field can be empty.
For housenumber addition it is normal to be empty.
This breaks the postcode validation.

This fixes the error on the customer account addressbook page:
Uncaught SyntaxError: Unexpected token ';'
@DjQuinnEXP
Copy link

@tig-support, we've noticed these issues as well and this PR would fix it. Would it be possible to merge so we could release it in a soon-ish manner?

@DarthFly DarthFly merged commit 7df5295 into postnl:master May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants