Skip to content
This repository was archived by the owner on Oct 27, 2022. It is now read-only.
This repository was archived by the owner on Oct 27, 2022. It is now read-only.

DatePicker input pattern validation #35

Closed
@alexbeletsky

Description

@alexbeletsky

I have <DatePicker /> without value and defaultValue, only listening to onChange and updates redux storage.

Once I selected the date and try to submit my form, I see error pops-up by Chrome,

screenshot 2016-07-26 10 46 27

The pattern I see,

screenshot 2016-07-26 10 46 48

It looks strange, because \d\d\d would not match Wed and also, not sure about 00/00/000 would it work at all?

Will providing pattern prop allow to workaround the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions