F
Filament3mo ago
Mina

Filament widget on click show table list record

Is it possible to make the widget clickable so that when you click it, it redirects you to a resource page. I am talking about dashboard widget. If it is possible, can someone please provide me with an example so that I can then modify it to suit my needs. Also if someone has an example where you click a widget, for example Active shops, and it renders a list of only active shops
2 Replies
Dennis Koch
Dennis Koch3mo ago
It’s possible but I don’t have the code right now. Look for some method containing url on the widget
Mina
Mina3mo ago
I actually made it work using ->extraAttributes([ 'class' => 'cursor-pointer', 'wire:click' => "redirectTo('filament.control.resources.funnels.index')", ]), forgot to update the chat, but if this helps anyone great 😁
Want results from more Discord servers?
Add your server
More Posts
Typed static property error when trying to activate cluster functionalityI'm trying to use the cluster functionality but I'm running into an error I can't get past. The clusHow to collapse section on button clickI have a livewire component that is rendering the form I want that when form is submited I collapse using @livewireScriptConfig instead of @filamentScriptsI'm using the tables package in livewire components. I'm using an extra Alpine plugin. So followingHow do custom field : Dynamic datalist + Input arrayHello, I try to migrate my old backend to filament. The last thing I need to do is the one in the viCan I defer uploading via the FileUpload component until form submissionI'm using Filament's file upload component in my form within my livewire component: https://filamentHow to attach and detach a relation in case there were valuesMy resource **may** has One to One (Polymorphic) relationship with Review, I want to create a reviewLogout action in a livewire componentI'm using the actions as a Livewire component to display a Sidepanel. However trying to figure out oHow can i publish view component that comes from filament ?Some views that i wanted to customize such as login view, or topbar layout is only available in the Dependant Select (Showing the ID on the options)How to fix this showing the id of the current selected item, this was happen when I change the item Adding FileUpload::make() make the whole resource or page not accessibleAdding FileUpload::make() make the whole resource or page not accessible, as it makes the whole page