Open Legioth opened 7 years ago
When implemented, please update @deprectated
in:
com.vaadin.v7.data.validator.NullValidator
Hello there!
It looks like this issue hasn't progressed lately. There are so many issues that we just can't deal them all within a reasonable timeframe.
There are a couple of things you could help to get things rolling on this issue (this is an automated message, so expect that some of these are already in use):
Thanks again for your contributions! Even though we haven't been able to get this issue fixed, we hope you to report your findings and enhancement ideas in the future too!
Hi,
I still have a usecase for this issue :
I have 1 Textfield binded with an EmailValidator. The email is not mandatory so user should leave it either empty or a validated result from the EmailValidator.
Some flag that null or empty is allowed would be very efficient for such use case.
Regards, Jorn
It would be useful to have a feature similar to the current
withNullRepresentation
that would instead bypass all intermediate converters and validators ifnull
is encountered from the model side or if the null representation value is encountered from the presentation side. In this way, it wouldn't be necessary to ensure that those intermediate steps also work with null values.Spun of from #8321.