ng2-file-upload icon indicating copy to clipboard operation
ng2-file-upload copied to clipboard

Question: Any update to support Angular 7?

Open a-patel opened this issue 5 years ago • 17 comments

Question: Any update to support Angular 7? Does this repository active to support upcoming angular versions?

a-patel avatar Nov 24 '18 07:11 a-patel

@a-patel have you tested it on Angular 7 ?

webmatrixxxl avatar Nov 29 '18 14:11 webmatrixxxl

@webmatrixxxl Not yet, but it was last updated one year ago!

a-patel avatar Nov 29 '18 17:11 a-patel

You file an issue but even didn't tried to see if it works?

sclausen avatar Nov 30 '18 08:11 sclausen

that is why I have labeled as "Question"

a-patel avatar Dec 01 '18 12:12 a-patel

I'm sorry, I always forget that the nodejs community slowly changes in a way where it's totally common to bother maintainers with questions for simple things you can easily findout if you just try yourself.

sclausen avatar Dec 01 '18 13:12 sclausen

I can not get it working with angular 7. Anyone else get it to work?

deanb22 avatar Dec 07 '18 00:12 deanb22

@deanb22 what error you get? Be more descriptive so you can get help!

webmatrixxxl avatar Dec 07 '18 01:12 webmatrixxxl

I am not getting any error. When the call to Uploader.UploadAll() is called it never hits the api url. The URL and headers are being set. No code has changed since before upgrading to 7 except for one thing. It is now being called async. Is that possibly the issue?

deanb22 avatar Dec 07 '18 02:12 deanb22

A reproduction of your issue as a separate repository would help.

sclausen avatar Dec 07 '18 05:12 sclausen

I have it working now. I can confirm it works in Angular 7.

deanb22 avatar Dec 09 '18 00:12 deanb22

@deanb22 what was the issue?

webmatrixxxl avatar Dec 09 '18 16:12 webmatrixxxl

I can confirm that it works with Angular 7.

VILLAN3LL3 avatar Dec 28 '18 13:12 VILLAN3LL3

i have a problem with angular 7 , no error is given simply when i ever to try to select a file or drag and drop a file nothing happens , i don't see the selected file nor do i get the option to upload . its like the uploader is not being updated

haskalach avatar Jan 01 '19 10:01 haskalach

it turned out that the problem is the file size . if the image file size exceeds the limit no notification is provided and simply it wont fire any events

haskalach avatar Jan 01 '19 10:01 haskalach

I recently upgraded from angular 6.1 to 7.2.3, the file uploader works fine

$ng version

 _                      _                 ____ _     ___
/ \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|

/ △ \ | '_ \ / | | | | |/ _ | '__| | | | | | | / ___ | | | | (| | || | | (| | | | || | | | // __| ||_, |_,||_,|| _||| |___/

Angular CLI: 7.3.0 Node: 10.4.1 OS: darwin x64 Angular: 7.2.3 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dynamic, router, upgrade

Package Version

@angular-devkit/architect 0.13.0 @angular-devkit/build-angular 0.13.0 @angular-devkit/build-optimizer 0.13.0 @angular-devkit/build-webpack 0.13.0 @angular-devkit/core 7.3.0 @angular-devkit/schematics 7.3.0 @angular/cdk 7.3.0 @angular/cli 7.3.0 @angular/flex-layout 7.0.0-beta.23 @angular/material 7.3.0 @ngtools/webpack 7.3.0 @schematics/angular 7.3.0 @schematics/update 0.13.0 rxjs 6.4.0 typescript 3.2.4 webpack 4.29.0

$ cat package.json | grep uploader cat package.json | grep file "ng2-file-upload": "^1.3.0",

fd98279 avatar Feb 02 '19 20:02 fd98279

it's works

omaralshamass avatar Feb 27 '19 12:02 omaralshamass

@a-patel this ITS tracks issues. If this ticket does not report an issue, thanks for discarding it.

Chealer avatar Aug 11 '21 15:08 Chealer