Method Filament\Panel::databaseTransactions does not exist.
Hye, i added ->databaseTransactions()
and ->unsavedChangesAlerts() to the panel, but the error is the method doesn not exist. i use filament version 3.2
8 Replies
Where did you find those methods? I guess they both are for forms and no the panel.
Those are both methods on the panel object. Pulled in by
HasDatabaseTransactions
and HasUnsavedChangesAlerts
But having quickly tested, both work for me without error.v3.2.what? That patch version matters.
databaseTransactions()
was added in 3.2.42. I think unsavedChangesAlerts()
predates 3.2
@mohsin_ismail composer show filament/filament
will tell you what version you're running, make sure it's greater than 3.2.42 - or just run composer update
, assuming it's not locked to a minor version.UnsavedChageAlerts was in v3.2
php artisan about
Okay thank you. currently my version is 3.2.40 only
You should be able to upgrade to the latest minor version without issue.