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
In the Datepicker component I passed the property "format = 'dd / MM / yyyy'", the format came right, but when I finished typing, the day and month are inverted.
I type '01 / 05/2021 ',
The component returns
'05 / 01/2021 '
Expected Behavior
I type '01/ 05/2021 ',
The component returns
'01/ 05/2021 '
What version of rsuite are you using?
5.0.0-alpha.5
What version of React are you using?
17.0.2
What browser are you using?
Chrome, Edge, Firefox
Describe the Bug
In the Datepicker component I passed the property "format = 'dd / MM / yyyy'", the format came right, but when I finished typing, the day and month are inverted.
I type '01 / 05/2021 ',
The component returns
'05 / 01/2021 '
Expected Behavior
I type '01/ 05/2021 ',
The component returns
'01/ 05/2021 '
To Reproduce
Bellow you can test:
https://codesandbox.io/s/determined-framework-4pco9
The text was updated successfully, but these errors were encountered: