Refresh Form Data in Modal

Hello - I have a form in a modal. I fill the form data initially using ->fillForm(). I have an action within in the form where the user can create a new model. Is there a way to call ->fillForm() again after the user submits the action form? I want to fill the form with fresh data.
2 Replies
Dimitar Papazov DEV
do a $record->refresh() at the end of an action it will reload it
bwurtz999
bwurtz999OP3mo ago
Thank you!
Want results from more Discord servers?
Add your server