Issue toggling required state on TextField component #44405
Labels
component: text field
This is the name of the generic UI component, not the React module!
package: material-ui
Specific to @mui/material
status: waiting for author
Issue with insufficient information
Steps to reproduce
Steps:
Current behavior
Toggling required state from true to false on a standard TextField component with a label is causing the following error in :
"NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node."
Expected behavior
Asterisk should disappear from the label and required state should be at false.
Context
No response
Your environment
npx @mui/envinfo
Search keywords: MuiFormLabelAsterisk MuiFormLabel MuiTextField Required
The text was updated successfully, but these errors were encountered: