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

UIInput<Boolean> is always defaulted (making requiring it as an input impossible)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 2.10.1.Final
    • UI - Shell
    • None

      If you set a UIInput<Boolean> as follows:

      @WithAttributes(label = "fake", required = true, description = "just put something")

      It will never require the user to enter a value. This is because the default is "false" even though no default was specified and the field is labelled as required. This should support tri-state booleans, and it should be possible to have a required boolean.

              Unassigned Unassigned
              jsightle@redhat.com Jess Sightler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: