Question
7
Replies
1208
Views
Posted: September 19, 2016
Last activity: October 4, 2018
Closed
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***
**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.
Hello SKhyliuk,
Thanks for posting your query in PSC.
May I know the Pega version used at your end. Is the reported behavior observed with IE? Also, could you complete the sentence in attempted solution. I see you have referred as 'But after....', followed by a screenshot.
Verify if below link helps at your end.
https://pdn.pega.com/community/pega-product-support/question/charater-counter-text-area
Regards,
Rincy