Replies: 2 comments 3 replies
-
If you make the file upload |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for your quick reply @danharrin , I think that deleting previously uploaded files should at least be noticed on the documentation. Would you consider a PR to opt-out this behaviour? Regards |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Consider this use case: an edit form with a file upload, where the uploads are shown on a relation manager. If I upload one file and save the form, it's shown on the relation manager. When I upload another file, the first one is deleted.
Another use case: files can be attached to the model in various ways (p.e. through an API). When uploading manually another file, previously attached files are deleted.
This is because
deleteAbandonedFiles
is called on save, and it's not possible to disable it. I think the developer should be able to disable this behaviour, and also it should be documented.Beta Was this translation helpful? Give feedback.
All reactions