Skip to content

Datepicker: allow 00 for date and month #27

Description

@kevinnio1

The datepicker returns an empty string if it's not a valid date by date-fns package.

However, some citizens have '00' as day and/or month (e.g.: 00/00/1993 as birthdate on their official documents).
Even their RRN (rijksregisternummer) contains the 00 as day and/or month and is a valid RRN.

Is it possible to allow '00' as valid date and/or month or return the inputtedValue as value instead of an empty string?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions