0.1.0 • Published 6 years ago

@webacad/ng-file-value-accessor v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

NPM version Build Status

WebACAD/NgFileValueAccessor

Angular form module which will give you the FileList from your <input type="file"> inputs.

Before you use

  1. Check angular issue: https://github.com/angular/angular/issues/7341
  2. 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!