E-Mail Validator


I found out that the e-mail validator component does not trigger if no text is provided at all. That is fine if e-mail is an optional field but what if it is also a required field? Will I have to add another "Required" validator to the same e-mail field to get the desired functionality?

An option could be to offer a bool property that makes an e-mail validator also trigger if no text is provided, e.g. "AllowEmpty" or something like that.

Best regards,


Yes. You have to add a RequiredValidator if your email field is also required.