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 {
1717 private regexExpressions = RegexClass ;
1818 @Output ( ) registerData : EventEmitter < ICreateAccount > = new EventEmitter < ICreateAccount > ( ) ;
1919 registerForm = this . fb . group ( {
20- name : [ 'marco ' , [
20+ name : [ '' , [
2121 Validators . required ,
2222 Validators . pattern ( this . regexExpressions . ONLY_TEXT ) ,
2323 ] ] ,
24- surname : [ 'cruz ' , [
24+ surname : [ '' , [
2525 Validators . required ,
2626 Validators . pattern ( this . regexExpressions . ONLY_TEXT ) ,
2727 ] ] ,
28- email : [ 'marco@gmail.com ' , [
28+ email : [ '' , [
2929 Validators . required ,
3030 Validators . pattern ( this . regexExpressions . EMAIL ) ,
3131 ] ] ,
32- password : [ 'Mysecret123$ ' , [
32+ password : [ '' , [
3333 Validators . required ,
3434 Validators . pattern ( this . regexExpressions . PASSWORD ) ,
3535 ] ] ,
36- confirmPassword : [ 'Mysecret123$ ' , [
36+ confirmPassword : [ '' , [
3737 Validators . required ,
3838 ] ] ,
3939 } , {
You can’t perform that action at this time.
0 commit comments