I'm attempting to migrate react-flatpickr from v3 to v4. On one of our pages we have two flatpickr components acting as time inputs, and on v4 when we update one input the other is updated with the same value. When the other is clicked the previous value is still visible. Clicking away results in both values updating to that value.
I've reproduced this in codesandbox to demonstrate.
Passing the change handler via options instead of using the onChange prop seems to fix this.