You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your awesome file upload.
What about a custom function to extend the rejected file upload logic?
I can define "accept" to whitelist file extensions, thats pretty nice. But i cant add a check for files with 0 size. I can do it by my self, but then i have all the 'invalid' files in my files array not in my rejected files array.
$scope.handleFileSelected=function($files,$rejectedFiles){if($files&&$files.length>0){// i would like to do this in a fn which add all files in the rejected files.varfilesWithZeroSize=getFilesWithZeroSize($files);}}
Thank you very much :)
The text was updated successfully, but these errors were encountered:
Thanks for your awesome file upload.
What about a custom function to extend the rejected file upload logic?
I can define "accept" to whitelist file extensions, thats pretty nice. But i cant add a check for files with 0 size. I can do it by my self, but then i have all the 'invalid' files in my files array not in my rejected files array.
Thank you very much :)
The text was updated successfully, but these errors were encountered: