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?