Wizard: Improve validation of GCP targets
Fixes #879. This adds anchor at the beginning of the regular expression for validation of GCP targets.
This commit is contained in:
parent
ab1a7f4aab
commit
dd08069e48
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ export default {
|
|||
},
|
||||
{
|
||||
type: validatorTypes.PATTERN,
|
||||
pattern: '[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,}$',
|
||||
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