Closed Sloff closed 1 year ago
Also it is marking an empty email as invalid, but I have an optional email field, thus an empty value is valid, but a non empty value should be validated as an email. I believe ifBlank can be used with ifInvalidEmail if the field is required
I have the same problem
validate (ifInvalidEmail identity (always "bad email")) "jan@notopleveldomain"
--> (Valid "jan@notopleveldomain")
Hi
The ifInvalidEmail validator is not catching an address such as example@example as an invalid address
Kind regards