ExtJs textarea multiline issue

Posted by PR on Stack Overflow See other posts from Stack Overflow or by PR
Published on 2010-06-15T09:44:52Z Indexed on 2010/06/18 10:33 UTC
Read the original article Hit count: 936

Filed under:
|

How can I assign text containing \r\n to an ExtJs textarea and get to see line breaks instead of the actual \r\n characters? When I manually press the Enter key and check Firebug, I can see \r\n getting inserted. But if I assign a string containing \r\n to the textarea, it renders as-is.

Any hints would be helpful.

© Stack Overflow or respective owner

Related posts about extjs

Related posts about textarea