Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextAreaBox: clear() does not reset the letter counter #807

Closed
FrankHossfeld opened this issue Aug 6, 2023 · 0 comments
Closed

TextAreaBox: clear() does not reset the letter counter #807

FrankHossfeld opened this issue Aug 6, 2023 · 0 comments
Assignees
Labels
bug Something isn't working version 1.x.x Version 1.x.x issues version 2.x.x Version 2.x.x issues
Milestone

Comments

@FrankHossfeld
Copy link
Contributor

The TextAreaBox does not reset the letter counter in case clear() is called and setMaxLength(999) is set.

To reproduced the error:

  • create a TextAreaBox
  • use setMaxLength(999)
  • call clear()

After calling clear() the input of the TextAreaBox is removed, but the letter counter stills has the latest value set.

The expected result would be 0.

@vegegoku vegegoku self-assigned this Aug 27, 2023
@vegegoku vegegoku added the bug Something isn't working label Aug 27, 2023
@vegegoku vegegoku added this to the 2.0.0-RC2 milestone Aug 27, 2023
@vegegoku vegegoku added version 1.x.x Version 1.x.x issues version 2.x.x Version 2.x.x issues labels Aug 27, 2023
@vegegoku vegegoku changed the title TextAreaBox: clear() does not reset the letter counter (Domino-UI v2) TextAreaBox: clear() does not reset the letter counter Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working version 1.x.x Version 1.x.x issues version 2.x.x Version 2.x.x issues
Projects
Status: Done
Development

No branches or pull requests

2 participants