File upload not returning url after upload
I created a form to send a message and attach files, the files upload, but the he data that comes back shows nothing for the data uploaded, so it is returning an empty array
I can't figure out why this happens, please help
code:
Form:
Action:
DD output:
Env:
19 Replies
FileUpload::make('files')->dehydrated()...
?Didn't work, still empty array is returned
How are you filling the fields?
Are you uploading a new file or filling it from the record?
Where are you using this form?
uploading new files, attachments to an email/message
I am unsure where they should save, searched PC for the files but nothing appears
the files are selected then uplaoded via the
FileUpload
form component
the form is on a button, executed on click, and is a page Action
Share the whole code you are trying to do
I need to upload files from here, and capture it, but the files aren't captured.
the messages are created, this whole code works... just that the file upload doesn't
this should show the files
I tried that before, didn't work.
Let me try
Where are you using this action?
On a page
Livewire component sitting in a filament page
share the whole code
this is basically the whole thing..
there is a mount and change tab function, neither should have any effect
am I missing a config or something??
I don't know, maybe you can try it in another fresh install
I will try that