Skip to content

Commit

Permalink
Merge pull request #619 from vtex/loc/16864-4x
Browse files Browse the repository at this point in the history
Fix DNK postal code rules
  • Loading branch information
GeorgeLimaDev authored Oct 9, 2024
2 parents 97e71f4 + ee24bdf commit 9c37345
Show file tree
Hide file tree
Showing 2 changed files with 8 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

- Denmark (DNK) postal code rules.

## [4.25.4] - 2024-10-02

### Added
Expand Down
6 changes: 4 additions & 2 deletions react/country/DNK.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ export default {
},
{
name: 'postalCode',
maxLength: 50,
label: 'postalCode',
maxLength: 4,
label: 'Postnumre',
mask: '1234',
regex: '^\\d{4}$',
required: true,
size: 'small',
autoComplete: 'nope',
Expand Down

0 comments on commit 9c37345

Please sign in to comment.