Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-896

do not allow to set text to null in Labels

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

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.3
    • wtk, wtk-terra

    Description

      To have Label more aligned with other existing classes (TextInput, TextArea, etc) now it will not be possible to set a text null in Label instances.

      Note that existing applications (usually custom renderers) could need to check for not null before calling the Label setText(text) now, for example:
      label.setText(text != null ? text : "");

      Attachments

        Issue Links

        Activity

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

          People

            smartini Sandro Martini
            smartini Sandro Martini
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment