2021-04-26 09:11:07 -07:00

14 lines
331 B
HTML

<h2>Upload a file</h2>
<form enctype="multipart/form-data" method="post">
<div>
<label for="picked">Choose a file to upload:</label>
<input type="file"
id="picked"
#picked
(click)="message=''"
(change)="onPicked(picked)">
</div>
<p *ngIf="message">{{message}}</p>
</form>