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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: