unsavedChangesAlerts() does not work and generates an error

In my IDE, the method unsavedChangesAlerts() shows an invalid. It also generates the error Method Filament\Panel::unsavedChangesAlerts does not exist.. I'm running the latest version of Filament and when I comment out that method, everything works fine. Can anyone provide insight on why this is happening? I'm not using SPA mode which the docs say conflicts with this method.
No description
Solution:
@BuddhaNature You need version 3.2 instead of 3.1.47 : https://github.com/filamentphp/filament/releases/tag/v3.2.0
GitHub
Release v3.2.0 · filamentphp/filament
I've posted a more readable changelog on Twitter/X, with images of new features! What's Changed Support radio buttons and button group by @zepfietje in #9860 Password reveal by @Stichoza a...
Jump to solution
3 Replies
Dennis Koch
Dennis Koch11mo ago
First, please check your Filament version with php artisan about
BuddhaNature
BuddhaNatureOP11mo ago
Environment ............................................................
Application Name ................................... XXXXXXXXXXXXXXXXXXX
Laravel Version ................................................ 10.40.0
PHP Version ...................................................... 8.2.6
Composer Version ................................................. 2.6.6
Environment ...................................................... local
Debug Mode ..................................................... ENABLED
URL ............................................ XXXXXXXXXXXXXXXXXX.test
Maintenance Mode ................................................... OFF

Filament ...............................................................
Packages ............... filament, forms, notifications, support, tables
Version ........................................................ v3.1.47
Views .................................................... NOT PUBLISHED

Livewire ...............................................................
Livewire ........................................................ v3.3.5
Environment ............................................................
Application Name ................................... XXXXXXXXXXXXXXXXXXX
Laravel Version ................................................ 10.40.0
PHP Version ...................................................... 8.2.6
Composer Version ................................................. 2.6.6
Environment ...................................................... local
Debug Mode ..................................................... ENABLED
URL ............................................ XXXXXXXXXXXXXXXXXX.test
Maintenance Mode ................................................... OFF

Filament ...............................................................
Packages ............... filament, forms, notifications, support, tables
Version ........................................................ v3.1.47
Views .................................................... NOT PUBLISHED

Livewire ...............................................................
Livewire ........................................................ v3.3.5
Solution
Tieme
Tieme11mo ago
@BuddhaNature You need version 3.2 instead of 3.1.47 : https://github.com/filamentphp/filament/releases/tag/v3.2.0
GitHub
Release v3.2.0 · filamentphp/filament
I've posted a more readable changelog on Twitter/X, with images of new features! What's Changed Support radio buttons and button group by @zepfietje in #9860 Password reveal by @Stichoza a...
Want results from more Discord servers?
Add your server