Extra modal actions, trigger edit modal action and open link
I have a simple resource that has view and edit screens appearing as modal, using the
->actions()
method. I have added two buttons to the footer of the modal, but I can't work out how to trigger their actions.
I want the “View” button to open the resources' permalink in a new tab. And I want the “Edit” button to open the EditAction
modal action – the getUrl
doesn't work because there is no edit page, just the modal.
2 Replies
@trovster Does nothing happen when you click on the view action?
did you ever get this working?