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