Yacoub Al-haidari
Yacoub Al-haidari
FFilament
Created by Yacoub Al-haidari on 6/23/2024 in #❓┊help
Reset Password Not Working
No description
4 replies
FFilament
Created by Yacoub Al-haidari on 5/22/2024 in #❓┊help
multiple() select not work with afterStateUpdated
generate attribute values based on the selected attributes and add them into the repeater
34 replies
FFilament
Created by Yacoub Al-haidari on 5/21/2024 in #❓┊help
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
FFilament
Created by Yacoub Al-haidari on 5/4/2024 in #❓┊help
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.
23 replies
FFilament
Created by Yacoub Al-haidari on 4/21/2024 in #❓┊help
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
FFilament
Created by Yacoub Al-haidari on 1/22/2024 in #❓┊help
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
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'json_extract(title, "$.ar")' in 'where clause'
SELECT
count(*) AS aggregate
FROM
`slider`
WHERE
(
`json_extract(title, "$`.`ar")` LIKE % copnay%
OR `json_extract(description, "$`.`ar")` LIKE % copnay%
OR `url` LIKE % شرك %
OR `json_extract(button_action, "$`.`ar")` LIKE % copnay%
)
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'json_extract(title, "$.ar")' in 'where clause'
SELECT
count(*) AS aggregate
FROM
`slider`
WHERE
(
`json_extract(title, "$`.`ar")` LIKE % copnay%
OR `json_extract(description, "$`.`ar")` LIKE % copnay%
OR `url` LIKE % شرك %
OR `json_extract(button_action, "$`.`ar")` LIKE % copnay%
)
i am using the package ----> https://filamentphp.com/plugins/filament-spatie-translatable
22 replies
FFilament
Created by Yacoub Al-haidari on 1/21/2024 in #❓┊help
table does not display all records
I am attempting to display all the records, but it is not functioning correctly.
9 replies