Close Modal After Action from ManageRelatedRecords

I have a form on ManageRelatedRecords page which is reusing form of a Resource page. There on the resource form I have a custom action button. What I want is to have the edit modal gets closed on ManageRelatedRecords page once the action has been completed. I am attaching video for better understanding.
4 Replies
Tobias Platen
Tobias Platen11mo ago
Maybe cancelParentActions() ?
Oumuamua
OumuamuaOP11mo ago
This is not working Can anyone please suggest some solution?
Vp
Vp11mo ago
reload page? like this return redirect(request()->header('Referer'));
Tobias Platen
Tobias Platen11mo ago
If you show us your code, we might be able to help you better. Right now, it's just guessing. I have a task with a nested action in operation where the method cancelParentActions() works without any issues.
Want results from more Discord servers?
Add your server