react-datetime
react-datetime copied to clipboard
onClose returns wrong value
I'm Submitting a ...
[x] Bug report
[ ] Feature request
[ ] Support request
Steps to Reproduce
- Select any date
- Open datepicker and select another time
- onClose returns previous time
Expected Results
onClose returns the same as value
Actual Results
onClose returns wrong time
Minimal Reproduction of the Problem
https://codesandbox.io/s/fast-voice-92g2i?file=/src/App.js
Other Information (e.g. stacktraces, related issues, suggestions how to fix)
This still appears to be the case. Any progress in fixing this bug? As there's a lot of overhead using the "onChange" callback instead of the "onClose"