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
mohsin_ismail
mohsin_ismail2mo ago
No description
Dennis Koch
Dennis Koch2mo ago
Where did you find those methods? I guess they both are for forms and no the panel.
Tetracyclic
Tetracyclic2mo ago
Those are both methods on the panel object. Pulled in by HasDatabaseTransactions and HasUnsavedChangesAlerts But having quickly tested, both work for me without error.
awcodes
awcodes2mo ago
v3.2.what? That patch version matters.
Tetracyclic
Tetracyclic2mo ago
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.
awcodes
awcodes2mo ago
UnsavedChageAlerts was in v3.2 php artisan about
mohsin_ismail
mohsin_ismail2mo ago
Okay thank you. currently my version is 3.2.40 only
Tetracyclic
Tetracyclic2mo ago
You should be able to upgrade to the latest minor version without issue.