You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.
If I specify date format like YYYY.MM.DD, the datepicker works as expected, but if I switch placeholders and use format DD.MM.YYYY, component crashes with throwing next message in console: RangeError: Invalid array length.
After an additional investigation I discovered that the same message pops up if format starts with anything but year.
The text was updated successfully, but these errors were encountered:
If I specify date format like YYYY.MM.DD, the datepicker works as expected, but if I switch placeholders and use format DD.MM.YYYY, component crashes with throwing next message in console: RangeError: Invalid array length.
After an additional investigation I discovered that the same message pops up if format starts with anything but year.
Did you use the FormatDate prop? by default it is set to false and has value of YYYY-MM-DD if you insists using DD.MM.YYYY then make sure to specify this in the props.
If I specify date format like YYYY.MM.DD, the datepicker works as expected, but if I switch placeholders and use format DD.MM.YYYY, component crashes with throwing next message in console:
RangeError: Invalid array length
.After an additional investigation I discovered that the same message pops up if format starts with anything but year.
The text was updated successfully, but these errors were encountered: