-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Description
Describe the bug
CharacterCount component not resetting the error class once the input is edited.
To Reproduce
Steps to reproduce the behavior:
- Go to CharacterCount component
- Enter characters beyond maxlength (suppose maxlength is 50), You see the error message in red- You have 4 characters too many.
- Now edit the characters to make it under maxlength (50)
- The text below should reset back to black colour.
Expected behavior
When input characters are edited back to be inside maxlength limit, the text below should be displayed in Black colur (remove the error class)
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
