Stimulus Discourse

Dropzone, Stimulus and Rails with Active Storage


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


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


No progress so far. I m a bit lost.

I found this a pretty helpful intro, but probably doesn’t cover the complexities that you are having.