Property [$isCachingForms] not found on component

Inside a widget I get "Property [$isCachingForms] not found on component". https://flareapp.io/share/w5BngJX5 I'm confused, because I can't find this in the documentation.
Flare
Property [$isCachingForms] not found on component: [app.filament.resources.customer-resource.widgets.invoices] - The error occurred at http://localhost/customers/1
4 Replies
bwurtz999
bwurtz99916mo ago
Have you tried adding public $isCachingForms; to your widget?
swilla
swilla16mo ago
I'm getting the same error when I'm trying to upgrade a component to v3. https://flareapp.io/share/qm1YB11m
Flare
Property [$isCachingForms] not found on component: [systems] - The error occurred at https://controllerio.test/
swilla
swilla16mo ago
When I add that property to the component:
public $isCachingForms;
public $isCachingForms;
I get this error:
Method App\Livewire\Systems::hasCachedForm does not exist.
Method App\Livewire\Systems::hasCachedForm does not exist.
https://flareapp.io/share/bP9pZjpm
Flare
Method App\Livewire\Systems::hasCachedForm does not exist. - The error occurred at https://controllerio.test/
swilla
swilla16mo ago
I needed to do the following:
use Filament\Forms\Concerns\InteractsWithForms;
use Filament\Forms\Contracts\HasForms;
...

class Systems extends Component implements HasTable, HasForms
{
use InteractsWithForms;
use InteractsWithTable;
use Filament\Forms\Concerns\InteractsWithForms;
use Filament\Forms\Contracts\HasForms;
...

class Systems extends Component implements HasTable, HasForms
{
use InteractsWithForms;
use InteractsWithTable;
Want results from more Discord servers?
Add your server