Skip to content

Commit

Permalink
Merge pull request #581 from vtex/fix/IRL
Browse files Browse the repository at this point in the history
Updated rules for Ireland.
  • Loading branch information
jeffersontuc authored May 29, 2024
2 parents b778aa6 + cce39d2 commit 04a41e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 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

- Rules for Ireland.

## [3.36.0] - 2024-05-22

### Added
Expand Down
17 changes: 3 additions & 14 deletions react/country/IRL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const rules: PostalCodeRules = {
name: 'number',
maxLength: 750,
label: 'number',
required: true,
required: false,
size: 'mini',
autoComplete: 'nope',
},
Expand Down Expand Up @@ -69,19 +69,8 @@ const rules: PostalCodeRules = {
{
name: 'state',
maxLength: 100,
label: 'province',
required: true,
optionsCaption: '',
options: [
'Border',
'West',
'Mid-West',
'South-East',
'South-West',
'Dublin',
'Mid-East',
'Midlands',
],
label: 'county',
required: false,
size: 'large',
},
{
Expand Down

0 comments on commit 04a41e9

Please sign in to comment.