Yacoub Al-haidari
product variants select
I need help with a product variant configuration form. The form enables users to define attributes and their values for product variants like colors and sizes. While the color selection works fine, I'm having trouble accessing the values of select attributes in the afterStateUpdated function. When I select 'create', it successfully generates variants for colors, but the attribute values are not being properly accessed. I have tried my best but still not working .
This is the video
https://www.loom.com/share/a31cd167b21747c2a359b338b5d1821d?t=46&sid=4b857e0f-9f50-4808-9e8a-2aff00d16f34
4 replies
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.
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.
23 replies
Notifications
Is it possible to create two separate tables for different panels? I want to retrieve notifications for both user and admin panels. In other words, I'm looking to create two distinct tables for notifications tailored to each panel's needs.
I searched the Filament docs, but I couldn't find any guides related to this.
5 replies
Error when i search in table
I got this error when i search in the table i am using filament-spatie-translatable plugin
By the way the "add - update " work good but when i search the error appear
i am using the package ---->
https://filamentphp.com/plugins/filament-spatie-translatable
22 replies