This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Cart & Checkout blocks: Inline validation for postal code does not work for certain countries #8983
Labels
block: cart
Issues related to the cart block.
block: checkout
Issues related to the checkout block.
priority: high
The issue/PR is high priority—it affects lots of customers substantially, but not critically.
status: blocker
Used on issues or pulls that block work from being released.
type: bug
The issue/PR concerns a confirmed bug.
Describe the bug
A clear and concise description of what the bug is.
Inline validation for postal code does not work for certain countries, the shopper can't type into the postcode field.
To reproduce
Steps to reproduce the behavior:
Expected behavior
The shopper should be able to type
Background
The issue was introduced in #8503 and it's coming from this line https://github.com/woocommerce/woocommerce-blocks/pull/8503/files#diff-4b3f84282ae808cb2a22cc043685c689352f9f56dcfde568136076ddeff7aad5R31 because the postcode validation library does not cater for every country.
!! unit tests should be added along with the fix
The text was updated successfully, but these errors were encountered: