Closed
Description
I ran into a situation where I wanted to be able to add data-remote="true"
to a file input field. Turns out this doesn't work by default.
I made it work, here's a link to the gist: https://gist.github.com/zakcrawford/b05b1399208fcb257ff9
This will only work in browsers that support FormData();
(IE 10+, modern version of gecko and webkit)
Not sure if this is something that people are interested in, but if someone wants to create a way to do this that won't break in old browsers feel free to use my code as a starting point. The current test suite passed with my change, but I did not add any new tests.
Metadata
Metadata
Assignees
Labels
No labels