How to integrate this directive with Reactive Forms Angular 4? #864
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello,
I am making use of this directive to upload photos.
In my case, I am using Reactive Forms. How can I integrate this directive in a sense that when the user have selected an image above the max allowed size to make the Form invalid. I am not able to figure out how to integrate both Reactive Form and ng2-file-upload.
Thanks
Can you provide a short sample repo where you have this setup ?
@bhaidar Did you get it done with reactive form ?
I am having same kind of requirement where I need to upload image through a form ( post addition form where post can have featured image ).