waynehoover / s3_direct_upload

Direct Upload to Amazon S3 With CORS
MIT License
652 stars 333 forks source link

allow_multiple_files does not prevent multiple file drag and drop #117

Open uberllama opened 11 years ago

uberllama commented 11 years ago

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.

chrisdpeters commented 11 years ago

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

<%= file_field_tag :file, multiple: false %>
uberllama commented 11 years ago

No difference.

MrHubble commented 10 years ago

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