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][Autocomplete] Remove autocomplete warning regarding value not equal to option #43314

Merged
merged 8 commits into from
Aug 16, 2024

Conversation

ZeeshanTamboli
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli commented Aug 15, 2024

Fixes #29727.

Users have raised concerns in #29727 and #18514 that the warning is more problematic than helpful. We remove the warning and document when to use the isOptionEqualToValue prop instead.

@ZeeshanTamboli ZeeshanTamboli added bug 🐛 Something doesn't work package: material-ui Specific to @mui/material component: autocomplete This is the name of the generic UI component, not the React module! labels Aug 15, 2024
@mui-bot
Copy link

mui-bot commented Aug 15, 2024

Netlify deploy preview

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against af82d78

Copy link
Member

@aarongarciah aarongarciah left a comment

Choose a reason for hiding this comment

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

I'll leave the final approval to @michaldudak or @DiegoAndai who probably have more context.

Co-authored-by: Aarón García Hervás <aaron.garcia.hervas@gmail.com>
Signed-off-by: Zeeshan Tamboli <zeeshan.tamboli@gmail.com>
Copy link
Member

@michaldudak michaldudak left a comment

Choose a reason for hiding this comment

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

Just one nit. Aside from it, I'm OK with this change.

docs/data/material/components/autocomplete/autocomplete.md Outdated Show resolved Hide resolved
ZeeshanTamboli and others added 2 commits August 16, 2024 19:58
Co-authored-by: Michał Dudak <michal.dudak@gmail.com>
Signed-off-by: Zeeshan Tamboli <zeeshan.tamboli@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: autocomplete This is the name of the generic UI component, not the React module! package: material-ui Specific to @mui/material
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Autocomplete] The value provided to Autocomplete is invalid. (with the installed isOptionEqualToValue)
4 participants