Change data in default Filament Info Widget
Hi, i just wondering how to change the data in default filament info widget since that in vendor . I try to overide in vendor and its work but it will back to default when i run composer update . Is there any other alternative to do without create a new widget ?
5 Replies
I don't think so, why not just creating a new one and remove/hide default?
Because the default widget at the center of the page . And the sizing of both widget are same . So i want to change the data in filament info to make it align with account info widget .
Ok, then you can do like this.
1. create a class
Widgets\CustomWidget.php
inside FIlament
And inside custom-widget.blade.php
(https://github.com/filamentphp/filament/blob/3.x/packages/panels/resources/views/widgets/filament-info-widget.blade.php)
In panel provider
Result
Great . Will apply based on your suggestion . Thanks again bro .