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
Description
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,
The pattern I see,
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?