Ajith Lal
Ajith Lal
FFilament
Created by Ajith Lal on 7/5/2024 in #❓┊help
Custom table on resource edit page
I want to add a custom table to show the summary. I have built the module using the filament resource. I couldn't find a way to add custom page to the edit page of the resource class.
4 replies
FFilament
Created by Ajith Lal on 4/23/2024 in #❓┊help
Remove href from the last child breadcrumb
For example, I have breadcrumbs "Resource Name > Lists > item", "Resource > Lists", I want to remove the # value from the last child of the breadcrumbs. from the "Item" on first one. from the "Lists" on the second one. How do i achieve that? Thanks in advance.
1 replies
FFilament
Created by Ajith Lal on 3/4/2024 in #❓┊help
Livewire component removed on notificationClosed event
I have a livewire component on a filament page. When notificationClosed event is dispatched, the display:none property is set
4 replies
FFilament
Created by Ajith Lal on 3/1/2024 in #❓┊help
write test for validating fields on the custom form component
I have a custom filament form component with two fields, prompt and SKU, I want to write a test suite for validating the form. Below is the test I have written to do the same but it says the component doesn't have errors it('will return validation notification submitting invalid data', function () { $component = livewire(MagentoForm::class) ->fillForm([ 'prompt' => 1, 'sku' => '' ]) ->assertHasFormErrors(['sku' => 'The sku field is required.']); });
7 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
I have few charts on my dashboard. I'm confused do we need to write test for those and if yes, how do we write test for those?
5 replies
FFilament
Created by Ajith Lal on 1/15/2024 in #❓┊help
Add modal to custom action button without action called
No description
4 replies
FFilament
Created by Ajith Lal on 12/18/2023 in #❓┊help
Livewire error after upgrading filament from 2.x to 3.x
I have recently upgraded one of my project from Laravel 9.x to 10.x along with filament. I used the filament upgrade package from the filament website to do that. Once the upgrade is done Iḿ receiving an error Uncaught SyntaxError: Invalid or unexpected token (at livewire.js?id=8a199ab2:9407:1) . I did some research and I found some fixes telling that it is occurring because of the empty line on the project. So I have scanned my entire project and made sure there are no whitespace or blank line at the first line of php files. Thanks in advance.
15 replies