Partially set date is reset on focus out and back in
agnieszka-puzio opened this issue · comments
Before you start - checklist
- I followed instructions in documentation written for my React-Date-Picker version
- I have checked if this bug is not already reported
Description
With partially filled date, after focusing out and then back in the input, date is being reset to it's previous value. Native date input doesn't do that.
Steps to reproduce
- Pick / type in date
- Delete day
- Click out of input
- Click back in
Expected behavior
Day remains deleted, placeholder is shown.
Actual behavior
Day is set back to what it was before deleting it.
Additional information
No response
Environment
- Browser (if applicable):
- React-Date-Picker version:
- React version: