We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 684d802 + cb58235 commit a7ad8f1Copy full SHA for a7ad8f1
CHANGELOG.md
@@ -11,6 +11,10 @@ before starting to add changes. Use example [placed in the end of the page](#exa
11
12
## [Unreleased]
13
14
+## [3.13.2] 2023-10-19
15
+
16
+- Fixing CPR fetch pattern
17
18
## [3.13.1] 2023-10-19
19
20
- Checking CPR format before fetching data
modules/os2forms_nemid/src/Element/NemidCprFetchData.php
@@ -16,7 +16,7 @@ public static function getCompositeElements(array $element) {
$elements = parent::getCompositeElements($element);
// Pattern for CPR.
- $elements[self::getValueElementName()]['#pattern'] = '\d{6}-\d{4}';
+ $elements[self::getValueElementName()]['#pattern'] = '\d{6}(-)?\d{4}';
21
return $elements;
22
}
0 commit comments