Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form [formGroup]="addFriendForm" (ngSubmit)="send()">
- <div>
- <label>Name</label>
- <input type="text" formControlName="name">
- </div>
- <div>
- <label>Email</label>
- <input type="text" formControlName="email">
- </div>
- <div>
- <button type="submit" [disabled]="!addFriendForm.valid">Submit</button>
- </div>
- </form>
Add Comment
Please, Sign In to add comment