Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    TextItem#getValueAsString() returns null instead of empty String

    First a simple question:

    Is it the intended behaviour that TextItem#getValueAsString() returns null if the field is empty? I would expect an empty String.

    #2
    Yes, this is intended and very desirable, so that values are not changed by merely beginning to edit.

    Comment


      #3
      OK, you should say that in the method's JavaDoc.

      Comment

      Working...
      X