Ajith Lal
Ajith Lal
FFilament
Created by Ajith Lal on 7/5/2024 in #❓┊help
Custom table on resource edit page
as a temporary solution, if anyone has an idea how we can properly implement it.
4 replies
FFilament
Created by Ajith Lal on 7/5/2024 in #❓┊help
Custom table on resource edit page
Found a way by creating a custom view and livewire compoment
4 replies
FFilament
Created by Ashraf on 3/9/2024 in #❓┊help
Dependency Injection in Filament
I have resolved it via boot() method.
5 replies
FFilament
Created by Ashraf on 3/9/2024 in #❓┊help
Dependency Injection in Filament
@Ashraf I have the same requirement, But I couldn't resolve it via the app(). Could you please tell me how we can achieve it? Or did you find the best way to implement it?
5 replies
FFilament
Created by Ajith Lal on 3/4/2024 in #❓┊help
Livewire component removed on notificationClosed event
FInally found the solution. It was because, I have added a wire:transition to the parent div. It was causing the issue.
4 replies
FFilament
Created by Ajith Lal on 3/4/2024 in #❓┊help
Livewire component removed on notificationClosed event
Update: on my investigation, it is not actually removing the component. It is setting the display none property.
4 replies
FFilament
Created by Ajith Lal on 3/1/2024 in #❓┊help
write test for validating fields on the custom form component
For better clarity, I will explain what happened. I had to integrate a multi-form to a custom page. So I created a Livewire component https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component and set a form like below:
public function form(Form $form): Form
{
return $form
->schema([
Select::make('field1')
->options(...)
// ->native(false)
->required(),
TextInput::make('field2')
->required()
->minLength(3)
->maxLength(255),
])
->columns(3)
->statePath('customForm1');
}
public function form(Form $form): Form
{
return $form
->schema([
Select::make('field1')
->options(...)
// ->native(false)
->required(),
TextInput::make('field2')
->required()
->minLength(3)
->maxLength(255),
])
->columns(3)
->statePath('customForm1');
}
I have added 2 forms to the page https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component#using-multiple-forms. When I write tests for validation messages, It says the form doesn't return any validation errors
7 replies
FFilament
Created by Ajith Lal on 3/1/2024 in #❓┊help
write test for validating fields on the custom form component
The validation errors are not trapped since it is a custom livewire component.
7 replies
FFilament
Created by Ajith Lal on 3/1/2024 in #❓┊help
write test for validating fields on the custom form component
Yes. I did.
7 replies
FFilament
Created by Ajith Lal on 3/1/2024 in #❓┊help
write test for validating fields on the custom form component
Not working.
7 replies
FFilament
Created by Adel on 3/1/2024 in #❓┊help
disable single bulk action if one of the records is not applicable
I think you can use visible or hidden function for that
3 replies
FFilament
Created by Ajith Lal on 2/8/2024 in #❓┊help
How to write test for chart widgets or do we need to test chart widgets
How can we write unit tests for the chart widget or do we need to write unit test for the chart widgets?
5 replies
FFilament
Created by Ajith Lal on 2/8/2024 in #❓┊help
How to write test for chart widgets or do we need to test chart widgets
My query was about writing unit tests for the chart widget.
5 replies
FFilament
Created by Ajith Lal on 2/8/2024 in #❓┊help
How to write test for chart widgets or do we need to test chart widgets
Thanks for the response. But That was not my actual query.
5 replies
FFilament
Created by Ajith Lal on 1/15/2024 in #❓┊help
Add modal to custom action button without action called
Thank you for the reply. I tried the same. but the table is still refreshing after the popup is closed
4 replies
FFilament
Created by Ajith Lal on 12/18/2023 in #❓┊help
Livewire error after upgrading filament from 2.x to 3.x
Its loading the same file. Once I removed the last lines on the JS files, the error is gone, but the page is not showing up (getting blank page)
15 replies
FFilament
Created by Ajith Lal on 12/18/2023 in #❓┊help
Livewire error after upgrading filament from 2.x to 3.x
That file is an automatically generated one and I have no clue why the last lines are missing?
15 replies
FFilament
Created by Ajith Lal on 12/18/2023 in #❓┊help
Livewire error after upgrading filament from 2.x to 3.x
No description
15 replies
FFilament
Created by Ajith Lal on 12/18/2023 in #❓┊help
Livewire error after upgrading filament from 2.x to 3.x
15 replies
FFilament
Created by Ajith Lal on 12/18/2023 in #❓┊help
Livewire error after upgrading filament from 2.x to 3.x
No description
15 replies