[forge-issues] [JBoss JIRA] (FORGE-2054) UIInput<Boolean> is always defaulted (making requiring it as an input impossible)

Jess Sightler (JIRA) issues at jboss.org
Wed Oct 1 23:24:02 EDT 2014


Jess Sightler created FORGE-2054:
------------------------------------

             Summary: UIInput<Boolean> is always defaulted (making requiring it as an input impossible)
                 Key: FORGE-2054
                 URL: https://issues.jboss.org/browse/FORGE-2054
             Project: Forge
          Issue Type: Bug
          Components: UI - Shell
    Affects Versions: 2.10.1.Final
            Reporter: Jess Sightler


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.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the forge-issues mailing list