brendantwhite
brendantwhite
FFilament
Created by brendantwhite on 9/3/2023 in #❓┊help
Is it possible to make an Action reactive?
Can I get an 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?
2 replies