F
Filament2mo ago
emil

Listener on *resource* (not page)

I know listeners on Pages are easy enough - but I can't get them to work on a resource. Essentially having JS (custom view) trigger something in the parent Resource that it is called from.
Solution:
Resources are classes, Pages are livewire components..
Jump to solution
2 Replies
Solution
LeandroFerreira
LeandroFerreira2mo ago
Resources are classes, Pages are livewire components..
emil
emil2mo ago
Jeeeeez. Thank you. There goes 2 days of mental breakdowns. Thank you!
Want results from more Discord servers?
Add your server
More Posts
Why is this bad? Sending export completion notification to the UI as well as to the database.I played around with the built in filament/packages/actions/src/Exports/Jobs/ExportCompletion.php haCall $livewire->js in header actions?I have this table action which just opens a link with a token, it uses the livewire component to exesticky table headerHello, I've searched this question here and all the solutions did not work, they did do something buDateTimePicker not working hourFormat propertyI'm trying to develop my page with a DateTimePicker able to switch between AM/PM hours, a 12hr formaHow to get data from custom Livewire component that is part of form?I have this Livewire component in my form in an action. How can I get data from that Livewire componRelationManager table action not workingIn a `RelationManager`, the following action works as a header action, but not as a row action. ClicUnderstanding the DatabaseNotificationsSent event. Not seeing websocket notifications in admin panelI have Echo and Soketi running for real time notifications, where I want to dispatch filaments builtHow to enforce client loads newest theme.css?We build the theme CSS on each deploy. How can we tell clients to ignore local cache, and load the nWhat to use: Repeater or Key-valueI have checked the docs of both repeater and key-value form builder fields. I liked both. I am confReferenceError: selectedRows is not definedI have a custom filament page. Super simple: an infolist and a table ``` <x-filament-panels::page>