Repeater and file upload

So, I have a repeater file upload in the resource, there is a hasMany relationship between articles and files, which is perfectly returned in the response. However, if I go to the given model in the filament in view or edit view, the uploaded file does not appear, why is this? I am attaching a picture of what the resource looks like.
No description
7 Replies
Sector
SectorOP4w ago
Ignore the getStateUsing part, i already removed that
Sector
SectorOP4w ago
also, the name is loaded but the file is not
No description
toeknee
toeknee4w ago
Going to guess the storage engine doesn't have a temporaryUrl options assigned which is what is used for viewing them? You could try your defualt:
->default(function($file) {
// run code to set defualt..
})
->default(function($file) {
// run code to set defualt..
})
Sector
SectorOP4w ago
I tried this as well, nothing happened. 🙁 Any ideas?
LeandroFerreira
did you try it without getUploadedFileNameForStorageUsing? Any console errors?
Sector
SectorOP4w ago
yes, i tried, same. and no, i dont have any errors.
LeandroFerreira
could you create a minimal repo on github to reproduce this issue?

Did you find this page helpful?