material-ui
material-ui copied to clipboard
Add flag to suppress warning closes 41669
In React, when you add the contentEditable, you get a warning in the console that warns you about the problems you might encounter using that prop. To remove that warning you have to add another prop: suppressContentEditableWarning.
To remove the warning message add suppressTextareaWarning flag to the component.
<Autocomplete
options={yourOptions}
renderInput={(params) => <TextField {...params} multiline />}
suppressTextareaWarning
/>
#41669
Netlify deploy preview
https://deploy-preview-42095--material-ui.netlify.app/
Bundle size report
Details of bundle changes (Toolpad) Details of bundle changes
Generated by :no_entry_sign: dangerJS against 6d22a6b9e89ad204d42a63fc2f58bb2a30c14377
Duplicate of #41671?
Duplicate of https://github.com/mui/material-ui/pull/41671?
@charlesinto2 Thanks for working on this ~ would you be interested in contributing a test to https://github.com/mui/material-ui/pull/41671 instead?