Closed szilvihorvath closed 1 year ago
I suggest exposing a function called reset()
that will move the component back to his original state
Patch coverage: 100.00
% and no project coverage change.
Comparison is base (
a511277
) 100.00% compared to head (ae3f6de
) 100.00%.
:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Issue: https://github.com/Capgemini/dcx-react-library/issues/437
Character count is reset on focus. So after the textarea has been cleared programmatically, and then the textarea is focussed, the counter and the message will be reset to the correct value.
This is not the perfect solution as the count and message is not updated on clicking the button that clears the form.