Skip to content

Commit

Permalink
Step 21.43: Reset files on ngSubmit
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha committed Nov 27, 2016
1 parent 0e17709 commit 71a6217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/imports/app/parties/parties-form.component.html
Expand Up @@ -6,7 +6,7 @@ <h1>Your party is missing?</h1>
<h2>Add it now! ></h2>
</div>
<div class="form-center">
<form *ngIf="user" [formGroup]="addForm" (ngSubmit)="addParty()">
<form *ngIf="user" [formGroup]="addForm" (ngSubmit)="addParty(); upload.reset();">
<div style="display: table-row">
<div class="form-inputs">
<md-input dividerColor="accent" formControlName="name" placeholder="Party name"></md-input>
Expand Down

0 comments on commit 71a6217

Please sign in to comment.