F
Filament4mo ago
nowak

Did the mount() method get removed from Widgets?

I am using the #google-maps plugin where I have created a "custom" MapWidget, which used to update whenever the data was updated, but now this does not work anymore. So I found out that the mount() method in the vendor/cheesegrits/filament-google-maps/src/Widgets/MapWidget.php class is not being triggered anymore, and thought that this might be related to a recent Filament update affecting this, since this used to work. So should this method:
public function mount()
{
$this->dataChecksum = md5('{}');
}
public function mount()
{
$this->dataChecksum = md5('{}');
}
still fire in classes that extend the Widgets\Widget class? Or is this no longer the case?
Solution:
Never mind, I overwrote the mount method in my map widget, which did not use the parent method.. It still works as before.
Jump to solution
1 Reply
Solution
nowak
nowak4mo ago
Never mind, I overwrote the mount method in my map widget, which did not use the parent method.. It still works as before.
Want results from more Discord servers?
Add your server