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
When using the storybook playground, updating the dateFormat clears whatever is currently in the value field. Instead it should just re-arrange the value to fit the new date format
e.g. if someone enters a date in DD/MM/YYYY like 25/06/2024, then the dateFormat changes to YYYY/MM/DD then the value shown in the date input/date picker should be 2024/06/25
🪜 How to reproduce
Tell us the steps to reproduce the problem:
Go to date picker storybook playground
Set value
Update dateFormat
See the error
🧐 Expected behaviour
As mentioned above, the value should be updated to follow the date format.
The text was updated successfully, but these errors were encountered:
Summary of the bug
When using the storybook playground, updating the dateFormat clears whatever is currently in the value field. Instead it should just re-arrange the value to fit the new date format
e.g. if someone enters a date in DD/MM/YYYY like 25/06/2024, then the dateFormat changes to YYYY/MM/DD then the value shown in the date input/date picker should be 2024/06/25
🪜 How to reproduce
Tell us the steps to reproduce the problem:
🧐 Expected behaviour
As mentioned above, the value should be updated to follow the date format.
The text was updated successfully, but these errors were encountered: