How to re-render a custom widget after click on a button?
Hello everyone,
I'm still new to FilamentPHP and have created a custom widget on my admin panel that will display a welcome message to the user on first login. A button should allow him to hide the message once he's read it by updating the "show_welcome_message" boolean column.
I'm not sure how to make the widget refresh after clicking the button. Could someone point me in the right direction?
Thanks you π
Here my code :
And the view :
0 Replies