Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1187

UIInput<Boolean>.getValue() should not return null

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Minor Minor
    • 2.0.0.Alpha12
    • None
    • UI - API
    • None

      It would be ideal to return a binary value, instead of having this as a tri-state variable leading to addon developers adding in null checks. Perhaps it would be better to automatically set the defaultValue of UIInput<Boolean> instances. The default being false, unless of course it was specified in the UIInput definition.

            lincolnthree Lincoln Baxter III (Inactive)
            vineet.reynolds_jira Vineet Reynolds (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: