Permalink
Browse files

Step 5.10: Add ngSubmit to the form

  • Loading branch information...
1 parent a67ce8f commit 683564c289874e062a40f6d24eb3878cf7f1d1b7 @kamilkisiela kamilkisiela committed with DAB0mB Sep 21, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 client/imports/app/parties/parties-form.component.html
@@ -1,4 +1,4 @@
-<form [formGroup]="addForm">
+<form [formGroup]="addForm" (ngSubmit)="addParty()">
<label>Name</label>
<input type="text" formControlName="name">

0 comments on commit 683564c

Please sign in to comment.