Skip to content

Commit

Permalink
Merge pull request #454 from Plant-for-the-Planet-org/develop
Browse files Browse the repository at this point in the history
Release: Fix zip code validation Lebanon
  • Loading branch information
mariahosfeld authored Jan 8, 2024
2 parents 6c792d3 + 6acf300 commit bc5f7e5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Utils/countryZipCode.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ const COUNTRY_ADDRESS_POSTALS = [{
}, {
abbrev: 'LB',
name: 'Lebanon',
postal: /^[0-9]{4} ?[0-9]{4}$/,
postal: /^[0-9]{4} ?([0-9]{4})?$/,
}, {
abbrev: 'LS',
name: 'Lesotho',
Expand Down Expand Up @@ -911,6 +911,5 @@ const COUNTRY_ADDRESS_POSTALS = [{
abbrev: 'ZW',
name: 'Zimbabwe',
}];

export default COUNTRY_ADDRESS_POSTALS;

1 comment on commit bc5f7e5

@vercel
Copy link

@vercel vercel bot commented on bc5f7e5 Jan 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.