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
Describe the bug
When i open datepicker and if i click on backdrop without selecting any date then it fills today's date in input but it doesn't fire handleChange. Either both should be done or none(this would be the right one since i didn't select any date). It's creating problem in form validation where date is auto filled but it's value is still null|undefined.
Describe the bug
When i open datepicker and if i click on backdrop without selecting any date then it fills today's date in input but it doesn't fire handleChange. Either both should be done or none(this would be the right one since i didn't select any date). It's creating problem in form validation where date is auto filled but it's value is still null|undefined.
To Reproduce
Steps to reproduce the behavior:
https://codesandbox.io/s/react-datepicker-forked-okr9d?file=/src/index.js
0. Clear date input
Expected behavior
When i click outside without selecting any date, It should not fill input to today's date.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: