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

do not allow to set text to null in Labels

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.3
    • Component/s: wtk, wtk-terra
    • Labels:

      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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: