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] Add TValidationProps generic to the PickerManager interface #16832

Merged
merged 1 commit into from
Mar 6, 2025

Conversation

flaviendelangle
Copy link
Member

@flaviendelangle flaviendelangle commented Mar 5, 2025

Allow to pass only the props relevant for validation to useValidation without having TS complain in #16069
It also simplifies some of the typing

@flaviendelangle flaviendelangle self-assigned this Mar 5, 2025
@flaviendelangle flaviendelangle added component: pickers This is the name of the generic UI component, not the React module! enhancement This is not a bug, nor a new feature labels Mar 5, 2025
@flaviendelangle flaviendelangle changed the title [pickers] Add TValidationProps generic to the PickerManager interface [pickers] Add TValidationProps generic to the PickerManager interface Mar 5, 2025
@mui-bot
Copy link

mui-bot commented Mar 5, 2025

Deploy preview: https://deploy-preview-16832--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against 8303c5c

@flaviendelangle flaviendelangle marked this pull request as ready for review March 5, 2025 13:58
@flaviendelangle flaviendelangle requested a review from LukasTy March 5, 2025 13:59
Copy link
Member

@LukasTy LukasTy left a comment

Choose a reason for hiding this comment

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

LGTM. 👌

@flaviendelangle flaviendelangle merged commit d69ef4b into mui:master Mar 6, 2025
18 checks passed
@flaviendelangle flaviendelangle deleted the manager-improve branch March 6, 2025 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: pickers This is the name of the generic UI component, not the React module! enhancement This is not a bug, nor a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants