The files of the file upload are avaiable at _files
property instead of files
. This should show the values.
<ng-template pTemplate="content">
<ul *ngIf="uploader.files">
<li *ngFor="let file of uploader._files"> <!-- changed here! -->
<img
src="/assets/images/pdfimage.png"
/>
{{ file.name }}
</li>
</ul>
</ng-template>
In the (onRemove) function of a p-fileUpload, is it possible to get a list of the remaining files?