-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Describe the bug
TextInput disabled styles are almost indistinguishable from the normal styles (except for the cursor on hover). I believe it should have more of a visual difference (cc @laurelterlesky) as at least I can't tell that they are disabled.
Secondly and perhaps more importantly, if the TextInput is required, gets validated and later on disabled, the error message still shows up but it should be cleaned up.
To Reproduce
Steps to reproduce the behavior:
- Mount the TextInput with the
requiredprop and make thedisabledprop be a ref somewhere else that can be toggled (more on the video below) - Click on the TextInput and click away (hence triggering the empty validation)
- Click on the another component (a checkbox for example) that flips the
disabledprop to true - See that the error message is still shown
Expected behavior
The error message should be cleared and one should be able to visually distinguish disabled / enabled TextInputs.
Screen.Recording.2025-11-24.at.3.38.16.PM.mov
Reactions are currently unavailable