Open ghost opened 3 years ago
I think I found my answer in the sample-code: <input type="file" alife-file-to-base64 multiple (onFileChanged)="onFileChanges($event)" [(fileModel)]="files" [(rawFileModel)]="rawFiles" />
If I remove the 'multiple' part it accepts only one item.
Hello Santosh,
I found this npm-package today and think it's just what I need.
I have one question: is there a way to set the maximum number of files to be selected? For my project I would like to limit it to one.