CreateImageWizard: add gcp email validation
Add email address input validation to GCP step in CreateImageWizard. Closes #260
This commit is contained in:
parent
f2cd5fbf3f
commit
28f415e292
2 changed files with 15 additions and 0 deletions
|
|
@ -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'
|
||||
}
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue