diff --git a/CHANGELOG.md b/CHANGELOG.md index 67778885..fd0997e7 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 + +- Denmark (DNK) postal code rules. + ## [3.37.2] - 2024-10-02 ### Added diff --git a/react/country/DNK.ts b/react/country/DNK.ts index 2b2a9bc5..381bffe6 100644 --- a/react/country/DNK.ts +++ b/react/country/DNK.ts @@ -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,