{"repo":"jwelker110/file-input-accessor","free":true,"listed":false,"github":"https://github.com/jwelker110/file-input-accessor","clone":"git clone https://github.com/jwelker110/file-input-accessor.git","description":"Angular directive that provides file input functionality in Angular forms.","language":"TypeScript","stars":29,"topics":["angular","file","accessor","form","input","control","reactive","template","angular4","angular5"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"Looking for the changelog? FileInputAccessor Adds Reactive and Template behavior you're used to using with Angular Forms, but for . Check out the demo to see it in action. Sample code for sending the files from Angular to your backend is further down this page. Provides NG VALUE ACCESSOR implementing the ControlValueAccessor interface. For more info, refer to this stack overflow answer linked on this issue. - Which version should I use? - Using with your forms - Validation - Accessor Inputs - ICustomFile Which version should I use? Version 1.x.x uses Rxjs v5.5.x. Rxjs v6 underwent some changes that include adjustments to the way operators are imported along with other breaking changes. Version 2.x.x uses Rxjs v6. If you're interested in updating your projects, a package has been created for that very purpose by the Rxjs team. As a general rule: - For Angular 4 and 5, use version 1.x.x. - For Angular 6 use version 2.x.x. - Angular 7 and above aligns with the Angular version, so for Angular 7, use 7.x.x, Angular 8, use 8.x.x, etc.. RxJS - RxJS docs. - Learn RxJS - very helpful resource to familiarize yourself with Rxjs by providing a list of commonly used operators with examples. Using with your forms 1. Install package from npm 2. Import the FileInputAccessorModule. 3. That's it. You can use FormControl and NgModel with your file input. Validation An async validator is included and only runs if sync validation passes and values are provided to the accessor inputs. The followin","default_branch":null,"files":null,"tree":[],"storefront":"/r/jwelker110","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jwelker110/file-input-accessor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}