Hi Thorsten,
> Because null is not valid in my case
What do you mean by 'is not valid'? Whether null is accepted as input
will be decided by #isRequired().
'Null valid' will give you an additional option as the spec seems to
demands it.
> the displayed texts for the placeholder label option are different
for both null valid vs. invalid cases.
You can change these texts, see #getNullValidDisplayValue() and
#getNullValidKey() or just change the text for "<id>.nullValid" in your
properties.
Have fun
Sven
Am 02.04.2015 um 10:16 schrieb Thorsten Schöning:
Guten Tag Sven Meier,
am Mittwoch, 1. April 2015 um 22:54 schrieben Sie:
why don't you allow null (i.e. #isNullValid() returning true), while
setting the DropDownChoice required?
Because null is not valid in my case and the displayed texts for the
placeholder label option are different for both null valid vs. invalid
cases.
Mit freundlichen Grüßen,
Thorsten Schöning
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]