Skip to content

Commit

Permalink
Merge branch 'f/cpr-fetch-format-check' into release/3.13.2
Browse files Browse the repository at this point in the history
* f/cpr-fetch-format-check:
  Checking fetch CPR pattern
  • Loading branch information
stankut committed Oct 19, 2023
2 parents 684d802 + 4381a0f commit 846c02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/os2forms_nemid/src/Element/NemidCprFetchData.php
Original file line number Diff line number Diff line change
Expand Up @@ -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}';

return $elements;
}
Expand Down

0 comments on commit 846c02c

Please sign in to comment.