Skip to content

Commit

Permalink
Merge pull request #548 from vtex/fix/bel-country-rules
Browse files Browse the repository at this point in the history
Fix Belgium country rules
  • Loading branch information
sheilagomes authored Dec 6, 2023
2 parents 2cd91a7 + 0887ad3 commit d81a616
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 10 additions & 2 deletions react/country/BEL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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',
},
{
Expand Down

0 comments on commit d81a616

Please sign in to comment.