Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RangeDatePicker Input blur does not call onChange #43

Open
pothos-dev opened this issue Dec 16, 2019 · 0 comments
Open

RangeDatePicker Input blur does not call onChange #43

pothos-dev opened this issue Dec 16, 2019 · 0 comments

Comments

@pothos-dev
Copy link

pothos-dev commented Dec 16, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant