Dropzone with Shrine
I just switched to shrine as Active Storage doesn't support custom file paths. At my day job a question on security assessments requires blob storage to have some sort of tenant separation and i thought it would be useful to set it up for my project.
Has anyone had any luck connecting shrine and dropzone js? I wasn't able to pass the value via the stimulus controller via an update action. How could you take exactly what would have been submitted from the file_field and submit via ajax?
Tim did you had any luck with this? I am in your same situation and the only resource I found it's an old article on Medium https://medium.com/@stephendolan/rails-shrine-dropzonejs-f9d0944d17e3
It looks like you are having trouble connecting Shrine and Dropzone.js in your project. To solve this problem, you can use AJAX to get the value from the file_field. Make sure to specify the correct name in the form to submit the information correctly. Or, if you want to relax between coding, try playing Slope Game, a fun snow running game!