Skip to content

feat(Autocomplete): add suppressTextareaWarning prop to optionally … #46056

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

Conversation

aks30498
Copy link

@aks30498 aks30498 commented May 2, 2025

This PR introduces a new prop, suppressTextareaWarning, to the Autocomplete component. When set to true, it suppresses the console warning that is triggered when a textarea element is used as the input.

Closes #41669

@mui-bot
Copy link

mui-bot commented May 2, 2025

Netlify deploy preview

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

Bundle size report

Details of bundle changes (Toolpad)
Details of bundle changes

Generated by 🚫 dangerJS against 6fcf47c

@zannager zannager added the component: autocomplete This is the name of the generic UI component, not the React module! label May 2, 2025
@zannager zannager requested a review from ZeeshanTamboli May 2, 2025 10:32
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

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

@aks30498 I had already commented here in the issue to see the discussion in #41671 before working on it.

It was discussed in #41671 to not add a prop to disable this warning. See #41671 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: autocomplete 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.

[Autocomplete] Allow the user to remove the textarea warning
4 participants