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

[material-ui][Select] Remove unnecessary picking of onChange type from SelectInputProps #39891

Conversation

ZeeshanTamboli
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli commented Nov 16, 2023

The onChange type is being picked unnecessarily when there is a direct definition of the onChange type in SelectProps, which already utilizes the SelectInputProps type.

It was added in #11041 but was missed to remove it in #20298.

@ZeeshanTamboli ZeeshanTamboli added component: select This is the name of the generic UI component, not the React module! typescript package: material-ui Specific to @mui/material labels Nov 16, 2023
@mui-bot
Copy link

mui-bot commented Nov 16, 2023

Netlify deploy preview

https://deploy-preview-39891--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against dfb40b2

@ZeeshanTamboli ZeeshanTamboli marked this pull request as ready for review November 16, 2023 06:49
@ZeeshanTamboli ZeeshanTamboli merged commit 15b4b5d into mui:master Nov 16, 2023
23 checks passed
@ZeeshanTamboli ZeeshanTamboli deleted the fix-select-remove-unnecessary-picking-of-onChange-type branch November 16, 2023 10:17
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Dec 6, 2023
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Dec 6, 2023
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: select This is the name of the generic UI component, not the React module! package: material-ui Specific to @mui/material typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants