Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add pnr validators (refs KDK-48741) #129

Merged
merged 5 commits into from
Nov 28, 2024

Conversation

daniel-wallgren
Copy link
Contributor

@daniel-wallgren daniel-wallgren commented Nov 26, 2024

Adding validators for pnr:

  • v-validation.personnummerYounger - Check that one pnr field value isnt't younger than another.
  • v-validation.personnummerOlder - Check that one pnr field value isnt't older than another.
  • v-validation.personnummerNotSame - Check that one pnr field value isn't the same as another.

Copy link

github-actions bot commented Nov 26, 2024

PR Preview Action v1.4.8
Preview removed because the pull request was closed.
2024-11-28 07:11 UTC

@MCFK
Copy link
Collaborator

MCFK commented Nov 26, 2024

Validatorerna behöver dokumenteras här:
https://forsakringskassan.github.io/designsystem/latest/components/validation/validators.html

Sedan vore det trevlig om validatorernas namn nämns i commit-meddelandet. Då syns dom tydligt i changelog sedan. Extra trevligt om det blir två commits. T.ex. feat: add validator `notSamePnrValue` (refs KDK-48741) och feat: add validator `compareAgePnrValue` (refs KDK-48741)

@daniel-wallgren daniel-wallgren merged commit 33ce9c3 into main Nov 28, 2024
13 checks passed
@ext ext deleted the feat/add-pnr-validators branch December 6, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants