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

Already on GitHub? Sign in to your account

allow_multiple_files does not prevent multiple file drag and drop #117

Open
uberllama opened this Issue Aug 12, 2013 · 3 comments

Comments

Projects
None yet
3 participants
Contributor

uberllama commented Aug 12, 2013

Noticed this today when testing a form that I wanted to limit to single uploads. Even if you specify allow_multiple_files: false in the initializer, you can drag and drop multiple files with successful upload.

What happens if you set your file_field_tag to look like this?

<%= file_field_tag :file, multiple: false %>
Contributor

uberllama commented Nov 2, 2013

No difference.

I am also experiencing this behaviour. @uberllama did you ever find a fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment