When an image is deleted (ImageField), the database entry is set to an empty string and the file remains. What does work, however, is replacing an image; in that case, the previous file is deleted.
In FileUploadState $deletedFiles is correctly set, but $delete is false, that seems to be the reason why the file isn't deleted in processUploadedFiles().
EasyAdmin v5.4.1
When an image is deleted (ImageField), the database entry is set to an empty string and the file remains. What does work, however, is replacing an image; in that case, the previous file is deleted.
In
FileUploadState$deletedFilesis correctly set, but$deleteis false, that seems to be the reason why the file isn't deleted inprocessUploadedFiles().EasyAdmin v5.4.1