File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/app/auth/components/register-form Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,23 +17,23 @@ export class RegisterFormComponent {
17
17
private regexExpressions = RegexClass ;
18
18
@Output ( ) registerData : EventEmitter < ICreateAccount > = new EventEmitter < ICreateAccount > ( ) ;
19
19
registerForm = this . fb . group ( {
20
- name : [ 'marco ' , [
20
+ name : [ '' , [
21
21
Validators . required ,
22
22
Validators . pattern ( this . regexExpressions . ONLY_TEXT ) ,
23
23
] ] ,
24
- surname : [ 'cruz ' , [
24
+ surname : [ '' , [
25
25
Validators . required ,
26
26
Validators . pattern ( this . regexExpressions . ONLY_TEXT ) ,
27
27
] ] ,
28
-
28
+ email : [ '' , [
29
29
Validators . required ,
30
30
Validators . pattern ( this . regexExpressions . EMAIL ) ,
31
31
] ] ,
32
- password : [ 'Mysecret123$ ' , [
32
+ password : [ '' , [
33
33
Validators . required ,
34
34
Validators . pattern ( this . regexExpressions . PASSWORD ) ,
35
35
] ] ,
36
- confirmPassword : [ 'Mysecret123$ ' , [
36
+ confirmPassword : [ '' , [
37
37
Validators . required ,
38
38
] ] ,
39
39
} , {
You can’t perform that action at this time.
0 commit comments