AckerApple / angular-file

Angular components for user file select, drop, and more
http://ackerapple.github.io/angular-file/
MIT License
128 stars 40 forks source link

Extension warning before size warning #39

Closed issy123 closed 5 years ago

issy123 commented 5 years ago

When someone uploads an big file and also is not the accepted extension it should warn about that the filetype is invalid before it warns about the size is too big.

Otherwise the user would first shrink a file and then get's the news that his file type is not accepted

AckerApple commented 5 years ago

That seems fairly logical. I’d accept a pull request for that

hydiak commented 5 years ago

https://github.com/AckerApple/angular-file/pull/43

AckerApple commented 5 years ago

Fixed in 1.0.0