react-multi-date-picker
react-multi-date-picker copied to clipboard
DateObject.isValid not working in onChange when manually entering date
Steps to reproduce: Click into date field Select: 12/10/2022 In the input field, change to 12/55/2022
Expect onChange
- date.isValid = false
- no date selected on calendar
Actual onChange
- date.isValid = true
- date.format() 12/24/2023
- date show on calendar: 12/24/2033
code sample provided on request sorry if this is duplicated (i did search) or expected behavior.