From 78675379ccced750384e417d7880edaf815a0be6 Mon Sep 17 00:00:00 2001 From: kaio-donadelli Date: Fri, 1 Nov 2024 17:19:24 -0300 Subject: [PATCH] Changed Postal code for Santa Elena in COL. This locality will now use an 8-digit code. --- CHANGELOG.md | 4 ++++ react/country/COL.js | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index da481510..347b2ad3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Changed + +- Postal code for Santa Elena in COL. This locality will now use an 8-digit code. + ## [4.26.0] - 2024-10-31 ### Fixed diff --git a/react/country/COL.js b/react/country/COL.js index ef74f378..e24b6828 100644 --- a/react/country/COL.js +++ b/react/country/COL.js @@ -120,7 +120,7 @@ const countryData = { 'San Roque': '05670', 'San Vicente Ferrer': '05674', 'Santa Bárbara': '05679', - 'Santa Elena': '05001', + 'Santa Elena': '05001004', 'Santa Fé De Antioquia': '05042', 'Santa Rosa De Osos': '05686', 'Santo Domingo': '05690', @@ -1220,7 +1220,7 @@ export default { name: 'postalCode', postalCodeAPI: false, required: true, - regex: /^([\d]{5})$/, + regex: /^([\d]{5})|05001004$/, size: 'small', }, {