- 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)
Hey @GoLucas I managed to send the @merlosy solution to the backend. In your service, before doing the post:
and where context.file.files came from an interface defined before the service: