Skip to content

Commit

Permalink
Merge pull request #3 from actionanand/features/2-reactive-form
Browse files Browse the repository at this point in the history
comments added
  • Loading branch information
actionanand authored Oct 1, 2024
2 parents 543a82b + 7f9d13d commit 276ca39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/auth/login/login.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ export class LoginComponent {
return;
}

console.log(formEl);
console.log('Form Obj(NgForm) : ', formEl);

console.log(formEl.form.controls['emailField']);
console.log(formEl.form.value['emailField']);
console.log("formEl.form.controls['emailField'] => ", formEl.form.controls['emailField']);
console.log("formEl.form.value['emailField'] => ", formEl.form.value['emailField']);

formEl.form.reset();
}
Expand Down

0 comments on commit 276ca39

Please sign in to comment.