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
do a $record->refresh() at the end of an action it will reload it
Thank you!