Skip to content

[docs][material-ui][TextField] Undocumented breaking change #45940

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

Closed
Anwardo opened this issue Apr 17, 2025 · 2 comments
Closed

[docs][material-ui][TextField] Undocumented breaking change #45940

Anwardo opened this issue Apr 17, 2025 · 2 comments
Labels
status: waiting for author Issue with insufficient information support: docs-feedback Feedback from documentation page

Comments

@Anwardo
Copy link

Anwardo commented Apr 17, 2025

Related page

https://v6.mui.com/material-ui/migration/upgrade-to-v6/#breaking-changes

Kind of issue

Missing information

Issue description

I ran into an undocumented breaking change on the TextField component, previously when adding a select={true} prop, props such as multiple were automatically forwarded to the Select component. It seems from v6 that is no longer the case and the props have to be set via:

slotProps={{
  select: {
    multiple: true
  }
}}

This is actually a breaking change for people who used the method described above to implement these props. While slotProps is mentioned as the new way of passing props to child components and SelectProps is mentioned as being deprecated there is no mention of the prop forwarding behavior as a breaking change.

Context

No response

Search keywords: multiple prop / select props not forwarded textfield

@Anwardo Anwardo added status: waiting for maintainer These issues haven't been looked at yet by a maintainer support: docs-feedback Feedback from documentation page labels Apr 17, 2025
@siriwatknp
Copy link
Member

@Anwardo Can you provide a reproducible sandbox that describe about the "automatically forwarded to the Select component" and you are talking about v6, right?

@siriwatknp siriwatknp added status: waiting for author Issue with insufficient information and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Apr 18, 2025
Copy link

Since the issue is missing key information and has been inactive for 7 days, it has been automatically closed. If you wish to see the issue reopened, please provide the missing information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for author Issue with insufficient information support: docs-feedback Feedback from documentation page
Projects
None yet
Development

No branches or pull requests

2 participants