Guest User

Untitled

a guest
May 22nd, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. <form #f="ngForm" (ngSubmit)="onSubmit()">
  2. <p>
  3. <label>First Name:</label>
  4. <input type="text" [(ngModel)]="user.firstName" required>
  5. </p>
  6. <p>
  7. <label>Password:</label>
  8. <input type="password" [(ngModel)]="user.password" required>
  9. </p>
  10. <p>
  11. <button type="submit" [disabled]="!f.valid">Submit</button>
  12. </p>
  13. </form>
Add Comment
Please, Sign In to add comment