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
I want the “View” button to open the resources' permalink in a new tab. And I want the “Edit” button to open 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.