Uploading file just dissapears
When uploading a file it just dissapears, it does get uploaded to the tmp-storage directory.
See code: https://pastebin.com/NAjbi46n
12 Replies
Try removing your getUploadedFileNameForStorageUsing
Doesnt make a differnce, just tried 😦
strange, which version?
v2.17.51
I now have it that it does show it, it does not dissapear (thats how i had it before), it does go into tmp storage
but it does not show in the variable after pressing submit
See video: https://share.cleanshot.com/KZh6b11p
CleanShot 2023-08-04 at 15.32.03
Video uploaded to CleanShot Cloud
Do you have any idea @toeknee_iom ?
Are you casting to array and is it in your model fillables ?
it is not linked to a model yet, it is just variables in the component that it should fill
You are dding $this->attachements, but you are using data for the form. So surely you want:
dd($this->data);
which should show an attahcements on it
Going of the code in pastbin you provided.
Out of curiosity, which plugin are you using to add those widgets in the right and the logo on the top left?
Of is it just plain filament?
Thats just plain haha