marinosoftware / active_storage_drag_and_drop

Provides a form helper to make it easy to make drag-and-drop file upload fields that work with Rails' Active Storage.
MIT License
92 stars 14 forks source link

Support ID and name options and fix the default ID generation. #20

Open OtherCroissant opened 4 years ago

OtherCroissant commented 4 years ago

The ID that was generated had [] in it and did not match up, breaking the solution. In the process of fixing this, I also added support for the custom ID and name options of a file field.