© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
Filament
•
6mo ago
•
1 reply
Kyle
Just get the original filename?
Is there a way to get the uploaded file
's original filename in
afterStateUpdated
afterStateUpdated
of a FileUpload field
? I want to keep the randomly
-generated filename
, but I want to get the original filename so I can
$set()
$set()
the text of some other fields based on the original filename of the uploaded file
.
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Original filename in preview and download, but custom stored filename in FileUpload
F
Filament / ❓┊help
3y ago
Unable to store the original CSV file and access the filename from an Importer
F
Filament / ❓┊help
2y ago
FileUpload visibility('private') and original filenames
F
Filament / ❓┊help
10mo ago
How come filename include the directory
F
Filament / ❓┊help
3y ago