react-datepicker icon indicating copy to clipboard operation
react-datepicker copied to clipboard

RangeDatePicker Input blur does not call onChange

Open pothos-dev opened this issue 5 years ago • 0 comments

With a RangeDatePicker, writing a formatted date into the Input Fields will update the internal state of the component, but will not notify listeners via the onChange prop, making it impossible to change the observed date range without clicking into the Calendar widget.

This should easily be fixed by calling onChange in handleInputBlur or handleInputChange.

pothos-dev avatar Dec 16 '19 14:12 pothos-dev