Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. <form method="post" [formGroup]="registerForm" (ngSubmit)="onSubmit()">
  2. <input type = text name="first_name">
  3.  
  4. const user = {
  5. first_name: this.registerForm.controls.first_name.value,
  6. last_name: this.registerForm.controls.last_name.value,
  7. email: this.registerForm.controls.email.value,
  8. c_email: this.registerForm.controls.c_email.value,
  9. password: this.registerForm.controls.password.value,
  10. c_password: this.registerForm.controls.c_password.value,
  11. birth_date: this.registerForm.controls.birth_date.value,
  12. phone: this.registerForm.controls.phone.value,
  13. timezone: this.registerForm.controls.timezone.value,
  14. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement