From 0887ad3fc406178f5dc2e09e2073f4d2739e294b Mon Sep 17 00:00:00 2001 From: sheilagomes Date: Fri, 17 Nov 2023 10:16:00 -0300 Subject: [PATCH] Fix Belgium country rules --- CHANGELOG.md | 4 ++++ react/country/BEL.ts | 12 ++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 159e3a37..313c6a9a 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] +### Fixed + +- Belgium ('BEL') country rules. + ## [3.34.11] - 2023-10-18 ### Fixed diff --git a/react/country/BEL.ts b/react/country/BEL.ts index 088fb5bc..868b2d7e 100644 --- a/react/country/BEL.ts +++ b/react/country/BEL.ts @@ -30,6 +30,13 @@ const rules: PostalCodeRules = { required: true, size: 'xlarge', }, + { + name: 'number', + maxLength: 750, + label: 'number', + required: false, + size: 'mini', + }, { name: 'complement', maxLength: 750, @@ -41,13 +48,14 @@ const rules: PostalCodeRules = { maxLength: 100, label: 'city', required: true, - size: 'large', + size: 'xlarge', }, { + hidden: true, name: 'state', maxLength: 100, label: 'department', - required: true, + required: false, size: 'large', }, {