Skip to content

Commit

Permalink
Fix DNK postal code rules
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeLimaDev committed Oct 7, 2024
1 parent ea7e41c commit 1a574d8
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.

## [3.37.2] - 2024-10-02

### Added
Expand Down
6 changes: 4 additions & 2 deletions react/country/DNK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ const rules: PostalCodeRules = {
},
{
name: 'postalCode',
maxLength: 50,
label: 'postalCode',
maxLength: 4,
label: 'Postnumre',
mask: '1234',
regex: '^\\d{4}$',
size: 'small',
autoComplete: 'nope',
postalCodeAPI: false,
Expand Down

0 comments on commit 1a574d8

Please sign in to comment.