Open dannyuk1982 opened 6 years ago
It would be great to delete files for sure. We need this
Jack said we can already unassociated an image with an entry, but it wont actually delete the file. I would LOVE to see an example on how to do this.
I fiddled for hours with this.. just needs to be something dumb simple like..
On a workshop:entry:edit
save event
compare the old
value of any <input type="file">
with the new
value
if not equal, delete asset attached to old
value
It's great now you can upload files - but you can never remove them if you want to i.e. delete an image