-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
HowTo exclude specificly a file type by negation #1026
Comments
Added feature to version 7.3.9. Same syntax you mentioned here should work. |
thank you very much 👍 |
Is the fiddle outdated, I can drop zip and .mov files into the dropzone? I think I'm having this issue, which is how I found this issue. |
This seems to fix the error I was experiencing: #1386. You can test if you use |
@danialfarid, can you reopen this issue as the fiddle above is still not working as expected. Also tested on demo site with same incorrect behavior: |
Fix validation for mix of content types and exclusions * See danialfarid#1026
Hi,
As far as I've seen you can whitelist file-extensions with ngf-patterns and accept. Is there a possibility to blacklist file-extens or exclude them?
I'm looking for something like: ngf-pattern="'image/*,!.jpg'"
So PNGs or any image can be uploaded, but no JPGs.
Not sure if this is a bug or if I just missed it.
JsFiddle: http://jsfiddle.net/sufius/k6ahsu1n/4/
The text was updated successfully, but these errors were encountered: