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

[pickers] Remove the form props from the layout and the toolbar slots #15492

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

flaviendelangle
Copy link
Member

@flaviendelangle flaviendelangle commented Nov 19, 2024

Part of #15495
Extracted from #15300

More cleaning and more usage of the context instead of props drilling.
This simplifies the typing and prepares for a composable API in the future.

Changelog

Breaking changes

  • The toolbar and layout slots no longer receive the disabled and readOnly props. — Learn more.

@flaviendelangle flaviendelangle added breaking change component: pickers This is the name of the generic UI component, not the React module! labels Nov 19, 2024
@flaviendelangle flaviendelangle self-assigned this Nov 19, 2024
@mui-bot
Copy link

mui-bot commented Nov 19, 2024

@flaviendelangle flaviendelangle marked this pull request as ready for review November 19, 2024 14:46
Copy link
Member

@michelengelen michelengelen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice improvement ... :shipit:

@flaviendelangle flaviendelangle merged commit c73f6af into mui:master Nov 19, 2024
18 checks passed
@flaviendelangle flaviendelangle deleted the form-props-toolbar branch November 19, 2024 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change component: pickers This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants