Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ngf-max-size validation issue. #1671

Closed
AndrewCeM opened this issue Aug 25, 2016 · 2 comments
Closed

ngf-max-size validation issue. #1671

AndrewCeM opened this issue Aug 25, 2016 · 2 comments

Comments

@AndrewCeM
Copy link

AndrewCeM commented Aug 25, 2016

Release 12.0.4 doesn't have such issue.
If I upload file with size greater than is described in ngf-max-size, then undefined is passed, not the proper File object. And the error occurs (TypeError: Cannot read property 'length' of undefined - taken from your demo), which makes impossible to use the ng-file-upload without reloading the page.

Tested on Chrome, Firefox.

Update.
Seems, that this issues is connected with whole validation, no only the ngf-max-size.

danialfarid added a commit that referenced this issue Aug 25, 2016
@danialfarid
Copy link
Owner

Fixed at 12.2.4

@AndrewCeM
Copy link
Author

Thanks for quick response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants