additional function on SelectColumn change

hello everyone. is there any way i can fire a function on select column change? eg send DB notification
4 Replies
toeknee
toeknee2y ago
What about an event listener for a change?
Lambertn33
Lambertn33OP2y ago
@toeknee_iom thanks for this but not sure how i can implement it with filament
toeknee
toeknee2y ago
So you can just use an observer I would say https://laravel.com/docs/10.x/eloquent#observers On a change into the model, you can check and then send a DB notification as you desire?
Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
Lambertn33
Lambertn33OP2y ago
sure @toeknee_iom thank you! this works
Want results from more Discord servers?
Add your server