Sigmoid
Sigmoid
FFilament
Created by Kleis on 8/31/2023 in #❓┊help
Hide widget on dashboard
Here my solution: Inside your custom Dashboard page add the following function to override the autoload.
public function getWidgets(): array
{
// old autoload default widgets
// return Filament::getWidgets();
//new list of widgets to load
return [Widgets\StatsOverview::class];
}
public function getWidgets(): array
{
// old autoload default widgets
// return Filament::getWidgets();
//new list of widgets to load
return [Widgets\StatsOverview::class];
}
11 replies