Closed tareq-alqadi closed 11 months ago
In my case the spa() method doesn't exist on Filament\Panel. I am getting this error Method Filament\Panel::spa does not exist.
In my case the spa() method doesn't exist on Filament\Panel. I am getting this error Method Filament\Panel::spa does not exist.
You need to update filament to latest version or at least to v3.0.46
same problem
Package
filament/filament
Package Version
v3
Laravel Version
v10
Livewire Version
v3
PHP Version
PHP 8.2
Problem description
When i using a wire:navigate links the the errors happened as you can see in the following picture
I noticed this problem first time when i am working on my project, then i decide to create a fresh Laravel project with installing filament as it's described in the docs and use spa() method with create a filament user as it's described in docs.
when i login to admin panel and click the dashboard link in the sidebar the error in the previous picture thrown.
this is not the only error i faced similar problems with table and some form fields.
Expected behavior
It's supposed to navigate between pages without any error
Steps to reproduce
Just create a new Laravel project, install filament and use spa() method
Reproduction repository
https://github.com/tareq-alqadi/testNavigate.git
Relevant log output
No response
Same here
I am too getting same errors in my console
I am experiencing this too, thats why I don't use the ->spa()
yet. Im still waiting for a fix about this issue
I'm having the same problem when I navigate to a Livewire/Volt full-page component that has a Filament\Table on it …
It's an Alpine/LW bug where global stores dont work, you can submit a failing test to Livewire to get it fixed, otherwise you will need to wait for me to find time to do the same thing
Thanks @danharrin , unfortunately I'm not very familiar with writing failing tests and I also don't really see how the error is related to the global store (this is also used in the rest of the site but does not produce any errors) ... what I do see however is that table.js is called twice and the $wire object/component is only found on the second call. Could the error perhaps have something to do with the moment the script is called and/or the fact that this happens twice?
collapsedGroups is a global store
I'm having the same problem when I navigate to a Livewire/Volt full-page component that has a Filament\Table on it …
Fixed as https://github.com/filamentphp/filament/pull/9151 Update and check it
The collapsible sidebar issue is probably still present
Should be fixed.
Package
filament/filament
Package Version
v3
Laravel Version
v10
Livewire Version
v3
PHP Version
PHP 8.2
Problem description
When i using a wire:navigate links the the errors happened as you can see in the following picture
I noticed this problem first time when i am working on my project, then i decide to create a fresh Laravel project with installing filament as it's described in the docs and use spa() method with create a filament user as it's described in docs.
when i login to admin panel and click the dashboard link in the sidebar the error in the previous picture thrown.
this is not the only error i faced similar problems with table and some form fields.
Expected behavior
It's supposed to navigate between pages without any error
Steps to reproduce
Just create a new Laravel project, install filament and use spa() method
Reproduction repository
https://github.com/tareq-alqadi/testNavigate.git
Relevant log output
No response