Describe the bug
The text below the textarea displays the count of characters remaining, on form reset it is not going back to the maxLength (default) count.
To Reproduce
Steps to reproduce the behavior:
Add a CharacterCount component inside a form
Add a cancel button which resets the form
Type 3 characters inside the component. The message underneath says - You have 47 characters remaining. (Suppose your maxLength=50)
Now click on cancel button. The message should say- You have 50 characters remaining but it is still counting 47
Expected behavior
On form reset the message count should go back to the original count.
Screenshots
My maxLength is set to 50. I entered 3 characters before resetting. After form reset it is still showing 47.
Additional context
Add any other context about the problem here.
Describe the bug The text below the textarea displays the count of characters remaining, on form reset it is not going back to the maxLength (default) count.
To Reproduce Steps to reproduce the behavior:
Expected behavior On form reset the message count should go back to the original count.
Screenshots
My maxLength is set to 50. I entered 3 characters before resetting. After form reset it is still showing 47.
Additional context Add any other context about the problem here.