ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filamentโ€ข2y agoโ€ข
22 replies
Yacoub Al-haidari

Laravel 11 Filament 3 database notification Not save Data

I'm using Livewire on the frontend page. When a client sends an email via the contact us form, I want to receive a notification. Here's the code I'm using
public function SendEmailVia()
{

code......

and

Notification::make()
->title('You have a new message ๐Ÿ˜Š')
->success()
->body('Requester: ' . $this->name)
->actions([
Action::make('markAsRead')
->label('Mark as Read')
->button()
->markAsRead(),
])
->sendToDatabase(User::all());

}
However, the notification isn't saving the data, and no errors are appearing. The notification is being sent, but the data isn't being saved.
Solution
I have created a new project Filament, and it works fine. Thank you for helping me out. and the notifications works fine
Jump to solution
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

Laravel 11 Filament 3 database notification help
FilamentFFilament / โ“โ”Šhelp
2y ago
Docker with Laravel 11, Filament 3
FilamentFFilament / โ“โ”Šhelp
15mo ago
Database Notification Data
FilamentFFilament / โ“โ”Šhelp
2y ago