79817623

Date: 2025-11-12 10:44:46
Score: 0.5
Natty:
Report link

If you only need to change the color of the label when the field is empty, you can safely use the standard label props, which are less likely to trigger the bug.

<TextField
  label="Enter your name"
  InputLabelProps={{
    sx: { color: 'blue' }
  }}
/>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Max