jaredatobe
jaredatobe
FFilament
Created by jaredatobe on 5/8/2025 in #❓┊help
Get filename and path after a file is uploaded using afterStateUpdated
I'd like to get the filename and path after a file is uploaded using afterStateUpdated. After the file is uploaded, but before the (create) record is saved, I can see the file in the livewire-tmp folder, but how do I get to it programmatically? (I want to convert a PDF to text at this point) I've searched diligently for code examples on accessing file upload details using $get or $component in an afterStateUpdated handler, but getting nowhere. Seems like something that should be easier to find. Please advise
9 replies