-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
It seems that I cannot use allowEmpty in the validate attribute.
What I would like to do is validate a field to be either a valid email address or empty. I don't seem to be able to do this? Am I correct or am I missing a simple way of doing this?
<ValidatedInput
id="profile-companyMail"
name="companyMail"
type="email"
placeholder="Email"
validate="isEmail"
errorHelp="Incorrect Email"
/>
I would like to be able to put something like validate="allowEmpty,isEmail"
Thanks for helping me out!
Metadata
Metadata
Assignees
Labels
No labels