I am making a form to edit an entity where the user can upload a file. When he make some edits, I want to check if he uploaded another file to know if I have to delete the other. I can’t find how to know if the input file is empty or not. How can I do this?
Share
Check the symfony documentation