Angular form module which will give you the FileList
from your <input type="file">
inputs.
- Check angular issue: angular/angular#7341
- If it's resolved, don't use this library
@angular/core
@angular/forms
rxjs
$ npm install --save @webacad/ng-file-value-accessor
or with yarn
$ yarna add @webacad/ng-file-value-accessor
import {NgModule} from '@angular/core';
import {FileValueAccessorModule} from '@webacad/ng-file-value-accessor';
@NgModule({
imports: [
FileValueAccessorModule,
],
})
export class AppModule {}
And profit!