JangoSteve/remotipart

When mulitple file selected, only one file is uploaded

Opened this issue · 2 comments

Does remotipart support multi file upload?

<%= form_for [variant, Image.new], :html => {:multipart => true}, :remote => true do |f| %>
          <%= f.label :image, "Upload paintings:" %>
          <%= f.file_field :image, multiple: true, name: "image[image]", class: "new-variant-image" %>
          <div class="actions">
            <%= f.submit %>
          </div>
        <% end %>

I've not tried it, but I would certainly be interested in any patch that provides support if it doesn't currently work.

I had to edit your comment with a code block so it would show up.