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

uberllama opened this Issue Aug 12, 2013 · 3 comments


None yet
3 participants

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 %>

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