CreateImageWizard: add gcp email validation

Add email address input validation to GCP
step in CreateImageWizard.
Closes #260
This commit is contained in:
Gianluca Zuccarelli 2021-10-13 18:17:30 +01:00 committed by jkozol
parent f2cd5fbf3f
commit 28f415e292
2 changed files with 15 additions and 0 deletions

View file

@ -106,6 +106,11 @@ export default {
{
type: validatorTypes.REQUIRED,
},
{
type: validatorTypes.PATTERN,
pattern: '[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,}$',
message: 'Please enter a valid email address'
}
],
},
{