HI, i am implementing file uploads for the first time and I am facing 2 problems:
- after uploading the file and clicking save, it loads indefinitely (see screenshot) even though I can see it's been uploaded to my disk and it's filename saved to my DB.
- When I reload this page, the file upload is empty again I'd like for it to show the already uploaded file so the user knows a file exists already.
This is the code I am using to implement this:
FileUpload::make('signature')->acceptedFileTypes(['image/png'])->maxFiles(1),