clickable widget
can anyone tell me how to redirect admin to go any table using the widgets of given in Dashboard like if i have a widget "total Posts" if we click it it will go to Posts Table. How can we archive This functoinallity?
Solution:Jump to solution
can you tell me how add css property in action button in resources/createpage
Actions\CreateAction::make()
->label('create')...
10 Replies
I think the widget has a
->url()
method. You could use it to redirect..yes it has but i dont know how to redirect can you please make a function here is the link of the filamentWidget https://filamentphp.com/docs/3.x/widgets/stats-overview#adding-extra-html-attributes-to-a-stat
would you like to redirect to a resource? Index page?
yes sir.
hii sir
Solution
can you tell me how add css property in action button in resources/createpage
Actions\CreateAction::make()
->label('create')
->extraAttributes([
'class' => 'float-right',
]),
this is my code i want that button float in right for that i write class float-right
but it doesnot work
wait i will tell you
thank you
thank you sir