Last active
February 9, 2025 13:47
-
-
Save armache/1e4bef46eff3c1bb0c3698b6c6663110 to your computer and use it in GitHub Desktop.
Personal Details component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form [formGroup]="form" (ngSubmit)="submit()"> | |
<mat-form-field> | |
<mat-label>First Name</mat-label> | |
<input matInput formControlName="firstName" /> | |
</mat-form-field> | |
<mat-form-field> | |
<mat-label>Last Name</mat-label> | |
<input matInput formControlName="lastName" /> | |
</mat-form-field> | |
<section> | |
<h2>Address</h2> | |
<app-address [addressForm]="form"></app-address> | |
</section> | |
<br /><br /> | |
<button mat-raised-button type="submit" color="primary">Submit</button> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment