Skip to content

ImageField no option to pass currentFiles #5464

@simivar

Description

@simivar

Describe the bug
I have a form where I overwritten upload_new and upload_delete callbacks to directly upload files to my S3 bucket. After doing so the option to delete a file is hidden because file is not present in the $currentFiles variable. How can I pass file from the S3 bucket so the option is available?

To Reproduce
Overwrite upload_new and upload_delete so files are not visible on the local filesystem.

(OPTIONAL) Additional context
If they are useful, include logs, code samples, screenshots, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions