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
<!--
Hello 👋 Thank you for submitting a pull request.
To help us merge your PR, make sure to follow the instructions below:
- Create or update the tests
- Create or update the documentation at
https://github.com/strapi/documentation
- Refer to the issue you are closing in the PR description: Fix #issue
- Specify if the PR is ready to be merged or work in progress (by
opening a draft PR)
Please ensure you read the Contributing Guide:
https://github.com/strapi/strapi/blob/master/CONTRIBUTING.md
-->
### What does it do?
Clearing the `DateTimePicker` now clears on the first click without
flashing the old value. I added a “clearing” state so the internal
calendar resets before the next paint while the controlled value prop
catches up.
added test with it
### Why is it needed?
this should fix#1883
### How to test it?
launch stroybook, go to `DateTimePicker`, clear button should be
clearing date at first click now.
### Related issue(s)/PR(s)
#1883
dx-2218
0 commit comments