Multiples Widget StatsOverview
Hello everyone.
I have a question. How can I insert several StatsOverview type widgets?
That is, I would like to place several widgets with different information so that they are in different rows.
Regards.
Solution:Jump to solution
https://filamentphp.com/docs/3.x/widgets/stats-overview#overview
php artisan make:filament-widget StatsOverview1 --stats-overview
php artisan make:filament-widget StatsOverview2 --stats-overview
...
?...4 Replies
You can create multiple widgets. What is the issue?
I'm building a dashboard and I'd like to have several StatsOverview widgets to display information.
I've created one without any problems but I don't know how to create a second widget of the same type to also display it on the dashboard.
Regards.
Solution
https://filamentphp.com/docs/3.x/widgets/stats-overview#overview
php artisan make:filament-widget StatsOverview1 --stats-overview
php artisan make:filament-widget StatsOverview2 --stats-overview
...
?Perfect, thanks a lot for the help. I had tried it but giving a different name to the widget and it didn't work.
Regards.