Truncated text with max characters in text area
Text area on the screen with Max Characters as 1800.
User enters the text (which includes new lines), and system allows to enters the text but while saving it truncates the characters at the end.
Also the behavior is different in Internet Explorer, Firefox, Chrome.
Steps to Reproduce
1) Include a text area in UI with Max length as 1800.
2) Enter text of length 1800 with new lines and save.
3) Observe that the text gets truncated from the end.
In case of Internet Explorer 11 and Firefox browse, when entering text in the text area, one can see that the Internet Explorer and Firefox takes one character for an enter key, and at the time of processing it takes 2 bytes.
In case of Chrome:
When entering text in the text area, we see that chrome takes two character for an enter key, and at the time of processing also it takes 2 bytes.
This HFix resolves the issue in Chrome but not in Internet Explorer and FireFox, as they are browser default behavior which cannot be handled by Pega.
0% found this useful