I have email address field in my angular app and i applied email validation on it. It is working on most of the cases but if user enters email in the form test@test then it shows red outline
around email field due to material but it doesn’t show the error message. Please confirm how should i update below pattern so that it shows error message on all below cases
test@
test@test
Below is the pattern i am using right now:
pattern("^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$")])
2