[plugins-dev] How to get resource column in Filamentv3
I am trying to upgrade a plugin to support v3.
In v2 we were able to get table column from specified resource using:
When I try following in Filament v3 i get an error:
Error: Property [$isCachingForms] not found on component
Solution:Jump to solution
I was able to figure it out. I was showing this table inside a filament resource table by using a hook. And based on new blade layouts i needed to pass livewire property. So in my case
['livewire' => $this]
worked.
```php
public function render(): View
{...2 Replies
I added
HasForms
contract and InteractsWithForms
trait.
Now i am getting following error:
Solution
I was able to figure it out. I was showing this table inside a filament resource table by using a hook. And based on new blade layouts i needed to pass livewire property. So in my case
['livewire' => $this]
worked.