- Compatible with model driven validation (Reactive forms)
- tested on Angular Material Beta 12
- Implemented with Angular 4.4.x
For easier maintaining, I moved all sources on Plunker: SEE LIVE DEMO ON PLUNKER
Note: Getting the model value, returns an FileInput object (type FileInput)
Hi Merlosy,
Thanks for sharing in plunker. It was really good.
However i am not able to incorporate the changes into my app.
I am getting the errors firstly in 'input-file.component.ts'(errors are in bold below)
import { MatFormFieldControl } from '@angular/material';
import { FocusMonitor } from '@angular/cdk/a11y';
import { coerceBooleanProperty } from '@angular/cdk/coercion';
I am using angular 4, i tried to change 'Mat' to 'Md'. but that is impacting whole application.
Do you have something code in angular 4. (Or) suggest me to proceed forward.
Thanks for your support.