Question
Counter of text input working wrong in Chrome
- Brief Desc - Incorrect counter in text area
- Detailed Description - Incorrect counting of characters in text area in Chrome. We have different values of characters inside text area and PEGA default counter for Text Area in Chrome just in cases when we use newline character.
- Steps to reproduce -
- Add control "text area" to section
- Open properties of control
- On presentation tab restrict max characters to 10(as example)
- Make "true" checkbox for Display character counter
- Than in application use 8 characters and one newline characters
- Counter below textarea will show message "Remaining: 1 characters" but we can't input any symbols in text area
- Any error messages - we don't have any error messages
- Attempted solutions - we added script to section mentioned in https://pdn.pega.com/support-articles/counter-control-displays-incorrect-count. For the first time counter below textarea counts newline characters as 2 symbols and shows correct value of remaining characters. But after refresh this section (event on click) default counter shows again wrong value.
***Updated by moderator: Marissa to update categories***
- Brief Desc - Incorrect counter in text area
- Detailed Description - Incorrect counting of characters in text area in Chrome. We have different values of characters inside text area and PEGA default counter for Text Area in Chrome just in cases when we use newline character.
- Steps to reproduce -
- Add control "text area" to section
- Open properties of control
- On presentation tab restrict max characters to 10(as example)
- Make "true" checkbox for Display character counter
- Than in application use 8 characters and one newline characters
- Counter below textarea will show message "Remaining: 1 characters" but we can't input any symbols in text area
- Any error messages - we don't have any error messages
- Attempted solutions - we added script to section mentioned in https://pdn.pega.com/support-articles/counter-control-displays-incorrect-count. For the first time counter below textarea counts newline characters as 2 symbols and shows correct value of remaining characters. But after refresh this section (event on click) default counter shows again wrong value.
***Updated by moderator: Marissa to update categories***
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.