Skip to content

Commit

Permalink
Step 5.10: Add ngSubmit to the form
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkisiela authored and dotansimha committed Nov 27, 2016
1 parent 68f7838 commit 0397383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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">

Expand Down

0 comments on commit 0397383

Please sign in to comment.