© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•16mo ago•
14 replies
sparmin

How to refresh form data?

I have a Game object which can be controlled via the GamesResource. The first screenshot shows the section with actions and status messages inside the form.
The second screenshot shows part of my Game model.

Currently everything works (nearly) as desired: The status messages show the correct status, the buttons apply the correct changes to the Game object. But clicking a button, for example "Next round", needs me to refresh the page manually in order to see the change of status from "Current round: 1" to "Current round: 2".

How do I achieve an automatic refresh, either of the page, or the section or the whole form?

I stumbled upon EditRecord::refreshFormData() as you can see, but couldn't really make it work properly, because funnily enough, the current solution works for Starting and Finishing the game, but not for Next Round.
image.png
image.png
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Refresh Form Data in Modal
FilamentFFilament / ❓┊help
16mo ago
Refresh form data on action
FilamentFFilament / ❓┊help
3y ago
How to Refresh Form in RelationManager?
FilamentFFilament / ❓┊help
2y ago
How to refresh form fields after action?
FilamentFFilament / ❓┊help
3y ago