F
Filament16mo ago
Masea

How can I ->fill() a FileUpload field?

I tried giving the path to the file, no help. Any way to do this?
2 Replies
Patrick Boivin
Patrick Boivin16mo ago
Not sure, but I think you need just the filename. Check what's in your DB already for some examples.
Masea
MaseaOP16mo ago
My FileUpload doesn't know which directory it should upload the file to (I am manually uploading the file). So I am also passing the dir next to file name like this: x/1/filename No help though After filling the form, the form data of the field is an empty array btw
Want results from more Discord servers?
Add your server