Skip to content

DatePicker looses value upon reopening #22

@luxflux

Description

@luxflux

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions