Remove file from FileUpload

Hello there, I need help. I am using FileUpload to upload an Excel file to this file i am doing validations. If the file does not meet the requirements, I want to remove it so that it has to be uploaded again. How can I do the part of removing the file?
1 Reply
DrByte
DrByte15mo ago
Probably ->storeFiles(false) on the upload component. And optionally ->visibility('private') although that might not be relevant depending on your choice of disk().
Want results from more Discord servers?
Add your server