© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
AngryTestie

Check if the data has been change before saving

I'm trying to send a notification to the process owner everytime the data of process owner is change after saving. I don't want to spam notification everytime the user click the save so I want to check it before saving. The code below always returns false even if I'm changing the value of the process_owner

protected function beforeSave(): void
{
dd($this->record->isDirty('process_owner'));
}
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Customizing data before saving
FilamentFFilament / ❓┊help
3y ago
Mutate ManageRelatedRecords data before saving
FilamentFFilament / ❓┊help
2y ago
mutate relation data before saving
FilamentFFilament / ❓┊help
3y ago