19 Apr 2010 4:07 AM #1
How to display Date and Number Fields with NULL values as invalid?
I have TextFields that should not be empty. I use
to achieve that.
When the fields are initialized they do not have any value assigned to them; their values are Nulls. But, these fields are not displayed as invalid (with the red border).
I do need to show them as invalid.
I do not have that problem with TextField<String>, because I can always call
Now, the field is not null but blank and is properly invalidated. Unfortunately, there are no blank Date or Number values.
Is there any trick/ workaround to display DateField and Number field with Null values as invalid?
Last edited by andreiastra; 19 Apr 2010 at 4:15 AM. Reason: inserted image
19 Apr 2010 7:58 AM #2Is there any trick/ workaround to display DateField and Number field with Null values as invalid?
21 Apr 2010 1:16 AM #3