English 中文(简体)
Is it possible to make a Filament (version 2) Action reactive?
原标题:
The bounty expires in 7 days. Answers to this question are eligible for a +50 reputation bounty. Brendan White wants to draw more attention to this question.

Can I get a Filament (v2) Action to refresh the whole page, or at least update a Navigation Badge?

I ve got a table of Recipes, and I ve got a Single Action on that recipe table, which adds the recipe to a Menu.

And i ve got a Resource for the Menu, which has a Navigation Badge which shows the number of Recipes in that Menu.

But when I click the Action to add a Recipe to the Menu, it doesn t immediately update the Navigation Badge. I have to refresh the page in the browser to see the updated Navigation Badge.

Is there some way I can get the Action to be Reactive, so that it updates the whole page? Or even a way to get the Action to trigger a refresh on the Nav Badge?

问题回答

暂无回答




相关问题
Table of calificacions in php and laravel

I created a table in order to show the name of the students, name of the subjects and the grade of the subject of the student I have the next code: this is the index part <form action="{{ ...

How to fix CORS for Capacitor/Quasar App in a Laravel API

I have an App built on top of Quasar and Capacitor, with an API built on top of Laravel. Everything works well on the dev environment until I build and install the app on my phone, then I keep getting ...

Laravel +Vuejs CORS issue

I am facing a dilemma wit the CORS issue. I have application that is configured as follow: API: https://abc.mydomain.com (laravel) front end: https://subdomain.mydomain.com(VueJS) Both applications ...

Laravel wrong redirecting to login page after login

In a multi tenancy with subdomain enviroment (http://zapburger.dex.local) when user fills login form with valid data and make login, laravel redirect to dashboard route (as expected) and then redirect ...

热门标签