Skip to content

[DateTimePicker] Fix onChange(null) of DesktopDateTimePicker on click away#31093

Closed
oukunan wants to merge 2 commits intomui:masterfrom
oukunan:fix-on-change-date-time-input
Closed

[DateTimePicker] Fix onChange(null) of DesktopDateTimePicker on click away#31093
oukunan wants to merge 2 commits intomui:masterfrom
oukunan:fix-on-change-date-time-input

Conversation

@oukunan
Copy link
Copy Markdown

@oukunan oukunan commented Feb 15, 2022

Related issue mui/mui-x#4358 and the cause might from this PR

Before

date-time-picker.mp4

After

after-datetime-picker.mp4

I am not sure that is it good approach to add more arguments to usePickerState but feel free to comment 🙏🏼

@mui-bot
Copy link
Copy Markdown

mui-bot commented Feb 15, 2022

Details of bundle changes

Generated by 🚫 dangerJS against 9c3fa97

@oukunan oukunan force-pushed the fix-on-change-date-time-input branch from 7866278 to 9c3fa97 Compare February 15, 2022 15:52
@mnajdova
Copy link
Copy Markdown
Member

Note, the pickers are moving inside the https://github.com/mui/mui-x repository. Please re-open the PR there, once they are established. cc @flaviendelangle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: DateTimePicker The React component. scope: pickers Changes related to the date/time pickers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants