Stimulus Discourse

Dropzone, Stimulus and Rails with Active Storage

Hi,

I am trying to implement a files preview and delete on Dropzone using stimulus.

I have followed this auto to setup stimulus with active storage but could not add a preview and file dele function inside the dropzone form field.

Has anybody already implemented such function ?

Thanks in advance

Hi,

How did you go with this? Want to post the progress you made so far so that we can see if we can help?

Hi,

No progress so far. I m a bit lost.

I found this a pretty helpful intro https://gorails.com/episodes/rails-drag-and-drop-sortable, but probably doesn’t cover the complexities that you are having.