ana
ana
FFilament
Created by Diogo Pinto on 10/15/2024 in #❓┊help
Override plugin's Javascript files without publishing?
So it worked? we were just using the wrong paths?
13 replies
FFilament
Created by NikSpyratos on 2/20/2024 in #❓┊help
Tests: assertActionDoesNotExist failing for DeleteAction
looking at the source, i think this is the assertion we where looking for: Filament\Actions\Testing\TestsActions::assertActionVisible
4 replies
FFilament
Created by NikSpyratos on 2/20/2024 in #❓┊help
Tests: assertActionDoesNotExist failing for DeleteAction
i ran into this just now. I was wondering if, in my action i am "only" using the hidden method to not show it, and if i was missing an additional method for the user to not be able to click (And the test pass).
4 replies
FFilament
Created by A7med_khalid on 4/23/2024 in #❓┊help
Saving repeater without using the saveRelationShipUsing
i just wanted to say thank you for this content! it helped me overcoming being stuck with some nested repeaters ❤️
17 replies
FFilament
Created by Lars on 2/25/2024 in #❓┊help
Is the a way show badges inside a dropdown?
thank you, i was about to delete my comment, as i've realized i was using the wrong method 🫣
6 replies
FFilament
Created by Lars on 2/25/2024 in #❓┊help
Is the a way show badges inside a dropdown?
No description
6 replies
FFilament
Created by ana on 10/16/2023 in #❓┊help
Error running tests: Call to a member function getId() on null
and it's a bigger facepalm i just realized now (and am on my way to launch a filament product) 😵‍💫
16 replies
FFilament
Created by ana on 10/16/2023 in #❓┊help
Error running tests: Call to a member function getId() on null
nop 😅 i never saw that on the docs
16 replies
FFilament
Created by ana on 10/16/2023 in #❓┊help
Error running tests: Call to a member function getId() on null
do i need to add the $currentPanel and the setcurrentpanel in all these tests that are failing?
it('redirects to login for guest', function () {
$currentPanel = \Filament\Facades\Filament::getPanel('app');//panel_id;
Filament::setCurrentPanel($currentPanel);

test()->get(FileResource::getUrl('create'))
->assertStatus(302)
->assertRedirect(route('filament.app.auth.login'));
});
it('redirects to login for guest', function () {
$currentPanel = \Filament\Facades\Filament::getPanel('app');//panel_id;
Filament::setCurrentPanel($currentPanel);

test()->get(FileResource::getUrl('create'))
->assertStatus(302)
->assertRedirect(route('filament.app.auth.login'));
});
16 replies
FFilament
Created by ana on 10/16/2023 in #❓┊help
Error running tests: Call to a member function getId() on null
ok. so i am now using filament login! i just added the login method on the panel. and commented my old login route on the routes file
public function panel(Panel $panel): Panel
{
return $panel
->id('app')
->path('admin_new')
->login()
public function panel(Panel $panel): Panel
{
return $panel
->id('app')
->path('admin_new')
->login()
16 replies
FFilament
Created by ana on 10/16/2023 in #❓┊help
Error running tests: Call to a member function getId() on null
yes. it was working perfectly. I'm running the tests again, and will check how a 2 lines change went
16 replies
FFilament
Created by ana on 10/16/2023 in #❓┊help
Error running tests: Call to a member function getId() on null
so i had an error that the login route is not refined (both 'filament.admin.auth.login' or 'filament.auth.login'). and it is not listed in route:list . To login i'm directed to the old application login. I need to do a bit digging first, try and setup the regular filament login. and then see if this issue was fixed. thank you for the help!
16 replies
FFilament
Created by ana on 10/16/2023 in #❓┊help
Error running tests: Call to a member function getId() on null
the same error pressists
16 replies
FFilament
Created by ana on 10/16/2023 in #❓┊help
Error running tests: Call to a member function getId() on null
my admin panel is registered and, on the browser, the application works as expected
16 replies
FFilament
Created by ana on 10/16/2023 in #❓┊help
Error running tests: Call to a member function getId() on null
No description
16 replies
FFilament
Created by Dhruva on 8/5/2023 in #❓┊help
Test Error - Call to a member function getId() on null
thank you!
7 replies
FFilament
Created by Dhruva on 8/5/2023 in #❓┊help
Test Error - Call to a member function getId() on null
Hi! I am having the same error after upgrading to v3, is there documentation on this now? I can't find anything on this issue
7 replies