Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34856

Mobile TextArea component loses HTML formatting with View change or Style change

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Apache Flex 4.14.1
    • Apache Flex 4.15.0
    • Mobile: Text
    • All Mobile Platforms
    • Patch, Important

    Description

      Steps to reproduce:

      1. Using a Mobile TextArea component set the htmlText property of the StyleableTextField display of the TextArea component. eg.

      StyleableTextField(main_txt.textDisplay).htmlText = "<b>HTML</b>";
      note: TextArea requires skin class: spark.skins.mobile.TextAreaSkin

      2. Change a style on the TextArea such as Font Size or Font Type. eg.

      main_txt.setStyle("fontSize",25);

      3. OR change to a new View and return to previous View with destructionPolicy="never"

      Results:

      HTML formatting like font color and size is removed.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            joeboxr c sills

            Dates

              Created:
              Updated:

              Slack

                Issue deployment