F
Filament12mo ago
sundays

Access TemporaryUploadedFile in mutateFormDataBeforeCreate

How do I access a FileUpload field's TemporaryUploadedFile in the mutateFormDataBeforeCreate method? The $data array that gets passed to that function contains the file's string name, not the temporary object. I tried using $this->form->getComponent() to get the FileUpload field but I can't seem to get it that way
3 Replies
Want results from more Discord servers?
Add your server