Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@BentiGorlich
Copy link
Member

The length of strings calculated in the UI via JS and in the backend would differ in a lot of cases. Moving to COUNT_GRAPHEMES should fix that. I changed the length assertion in cases where the user is presented with a textarea.

Fixes #1541

The length of strings calculated in the UI via JS and in the backend would differ in a lot of cases. Moving to `COUNT_GRAPHEMES` should fix that.
I changed the length assertion in cases where the user is presented with a textarea.
@BentiGorlich BentiGorlich self-assigned this May 28, 2025
@BentiGorlich BentiGorlich added bug Something isn't working backend Backend related issues and pull requests labels May 28, 2025
@BentiGorlich
Copy link
Member Author

If I should commit the controller I wrote to test this I can :)

@BentiGorlich BentiGorlich enabled auto-merge (squash) July 4, 2025 18:40
@BentiGorlich BentiGorlich merged commit d980e73 into main Jul 4, 2025
7 checks passed
@BentiGorlich BentiGorlich deleted the fix/wrong-character-count branch July 4, 2025 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend related issues and pull requests bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5000-character counter/limit is inaccurate

2 participants