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
Maybe
cancelParentActions()
?This is not working
Can anyone please suggest some solution?
reload page? like this
return redirect(request()->header('Referer'));
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.