Text Area validation error for new line

Description

Hi,

There's bug with textArea maxLength validation.
It seems, Preside text area client validation treat new line as 1 char and server validation treat it as 2 char ( /n ).

Example sentence : Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Curabitur pretium tincidunt lacus. Nulla gravida orcis

Client validation : passed

Server validation : failed

Environment

None

Activity

Show:
Saravanamuthu @MitrahSoft
March 22, 2021, 10:35 AM

I’ve added a fix for this issue.

PR

Fixed

Assignee

Dominic Watson

Reporter

Mookesh Nanda

Accepted

Yes