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

DatePicker looses value upon reopening #22

Closed
luxflux opened this issue Aug 2, 2016 · 1 comment
Closed

DatePicker looses value upon reopening #22

luxflux opened this issue Aug 2, 2016 · 1 comment

Comments

@luxflux
Copy link

luxflux commented Aug 2, 2016

Right now, if you select a date, the text field is filled with the selected value. As soon as you open the date picker again, it switches to blank and the date picker shows no selected date.

If you compare this to the behaviour of the bare MUI date picker, you will see that the selected date is still in the field and the selected date is marked in the date picker.

For debugging, I tried to use MUI with redux-form directly and it boiled down that this starts to happen if you add the onBlur/onFocus callbacks. Unfortunately, without this callback the dirty/touched tracking does not work.

Any ideas?

@erikras
Copy link
Owner

erikras commented Aug 2, 2016

Fixed in v4.0.0.

@erikras erikras closed this as completed Aug 2, 2016
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

2 participants