Widgets columns not taking effect
I have the column set on the new dashboard page to 3, but nothing I do makes the 3 widgets stay on the same line.
Hope you can help.
9 Replies
Any help on this please?
it could be multiple things, i had the same problem, can i see how you are calling your widgets?
you should do it like this, if this is your desired affect
i think, at least
from the Fillament demo:
https://github.com/filamentphp/demo/blob/main/app/Filament/Widgets/StatsOverviewWidget.php
GitHub
demo/app/Filament/Widgets/StatsOverviewWidget.php at main · filamen...
Source code for the demo.filamentphp.com website. Contribute to filamentphp/demo development by creating an account on GitHub.
Thanks for the reply, really appreciate it, I have made my own dashboard page, as ths docs say if you want to make custom widgets you ned to do it, do I need to call the widgets in the dashboard page?
oh, you have your own dashboard then not the admin panel provider?
if you are using a custom dashboard you will need to call them, if not they should have been automaticly discovered by the panel
how do i call them? Thanks
well normally when im inside of a form i do Forms\Components\Livewire::make(GastosProjetoWidget::class)->columnSpanFull(),
but you can call them like a normal livewire component https://filamentphp.com/docs/3.x/widgets/adding-a-widget-to-a-blade-view