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

Add support for required file validation #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zulfajuniadi
Copy link

This commit adds support to validate required file inputs.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.62% when pulling 1d0398b on zulfajuniadi:master into e618205 on chemerisuk:master.

@chemerisuk
Copy link
Owner

@zulfajuniadi please don't modify files from the dist folder - do it in the file from src.

Second issue with your code - it doesn't work in IE8 (http://stackoverflow.com/questions/12830058/ie8-input-type-file-get-files). But you can check value property instead, so the logic is the same as for general case. In other words, just leave the change on 12th line and it should work.

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

Successfully merging this pull request may close these issues.

3 participants