Skip to content

Commit 1e6a611

Browse files
committed
🔥 remove data from register form
1 parent c9c7f72 commit 1e6a611

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/app/auth/components/register-form/register-form.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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: ['[email protected]', [
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
}, {

0 commit comments

Comments
 (0)