-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Hi,
I'm trying to make my angular filepond accepts only pkcs12 (.pfx extension) files using filepond-plugin-file-validate-type
. The expected behaviour is that when the dialog to select file opens, only .pfx files would be listed. However, no files are displayed.
I'm doing in this way:
TS
@ViewChild('myPond', { static: false }) myPond: any;
pondOptions = {
acceptedFileTypes: 'application/x-pkcs12'
}
html
<file-pond #myPond
[options]="pondOptions"
(onaddfile)="pondHandleAddFile($event)"
(onremovefile)="showPasswordSection = false">
</file-pond>
It's important to say that another file types validation such as image/*
works perfectlly.
I'm using Angular 8.
Metadata
Metadata
Assignees
Labels
No labels