Closed n1203 closed 3 months ago
Same issue here.
Hi!
This is working as documented. The internal data format of the date picker is the standard ISO8601 date format (YYYY-MM-DD). In the props or event handlers, you should provide and expect this format. The slash ("/") format is just the format presented to end users, but this is unrelated to the way you should be handling the date string on your end.
Browser
Chrome
Package version
3.0.662
React version
18.2.0
Description
if you set value format type to
YYYY/MM/DD
that let app crash.You can read this pic:
some error like:
Source code
Reproduction
when you set value with format
YYYY/MM/DD
, then you can get this error.when you set value with format
YYYY-MM-DD
, then no error.Code of Conduct