flex textarea text attribute but still renders as html

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2010-03-24T17:34:34Z Indexed on 2010/03/24 17:53 UTC
Read the original article Hit count: 355

Filed under:
|
|
|

actually i got to the cause of the issue.

if you feed the textarea text attribute with an tag that has a valid src url, then for some reason flex will try to render everything as html.

Eg, try this:

<mx:TextArea id="textArea" width="100%" height="90%" text="<img src='http://url-to-a-valid-img"/> 

and instead of it rendering it as raw text it will render it as an html.

any idea?

© Stack Overflow or respective owner

Related posts about flex

Related posts about textarea