Steps to reproduce
Apply an override of the variant to standard in the latest version.
Current behavior
The override for MuiTextField does not work after changing from version 5.15.21 to 5.16.4.
This is the code I use for that part of the override for this component:
MuiTextField: {
defaultProps: {
variant: 'standard',
},
styleOverrides: {
root: {
'& .MuiInputBase-root': {
color: 'red',
backgroundColor: 'blue',
},
},
},
},
The styleOverrides is used to validate that the color change works, but the standard variant is not applied.
Expected behavior
The standard format is expected to be applied to the MuiTextField components.
Context
No response
Your environment
npx @mui/envinfo
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
Search keywords: 5.16.4