Skip to content

Commit

Permalink
Merge pull request #453 from Plant-for-the-Planet-org/feature/fix_leb…
Browse files Browse the repository at this point in the history
…anon_zipcode_validation
  • Loading branch information
norbertschuler authored Dec 21, 2023
2 parents 6c792d3 + 48536f1 commit 6acf300
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;

0 comments on commit 6acf300

Please sign in to comment.