I made an input as follows:
<input type="file" id="arquivos" name='arquivos[]' multiple onchange="funcao_listar()">
When you click the button and select the various files to upload, it lists the file with the delete button next to it (figure for illustration only).
How do I remove a specific input file when I click the delete icon? Making it clear that it is not just to remove the display item but rather to remove the input for when it is clicked on to submit the upload.