Get the name of the user who edits a record.

sooo the problem i have is when i add a user it shows the name of the current user that added it as well as the one who modified it. i want the modified column to be empty until someone tries to edit the form and saves changes
3 Replies
LeandroFerreira
LeandroFerreiraβ€’2y ago
in my opinion, you could do this using mutateFormDataBeforeCreate/ mutateFormDataBeforeSave https://filamentphp.com/docs/2.x/admin/resources/editing-records#customizing-data-before-saving
Filament
Editing records - Resources - Admin Panel - Filament
The elegant TALL stack admin panel for Laravel artisans.
LeandroFerreira
LeandroFerreiraβ€’2y ago
Filament
Getting started - Resources - Admin Panel - Filament
The elegant TALL stack admin panel for Laravel artisans.
defaltastra
defaltastraOPβ€’2y ago
yep this was it much thanks man πŸ™
Want results from more Discord servers?
Add your server