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

"accept" is always case sensitive #81

Open
eekboom opened this issue Jul 27, 2016 · 1 comment
Open

"accept" is always case sensitive #81

eekboom opened this issue Jul 27, 2016 · 1 comment

Comments

@eekboom
Copy link

eekboom commented Jul 27, 2016

I have configured the my upload field to accept MS Word files:
<input type="file" name="file" ng-model="vm.file" base-sixty-four-input accept=".doc, .docx">
Unfortunately that prevents upload files with upper case characters in the extension like some.DOC or another.Doc.
(For some reason our users have lots of word documents with .DOC suffix.)

Ideas:

  • Generally make the "accept" value case insensitive
  • Add an option to make the "accept" value case insensitive
  • Accept regexp objects in the "accept" parameter (or add a new parameter like "accept-regexp")
@mahavir2013
Copy link

We need a fix here I think. Same issue for me also.

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