The way I managed to make this work was to rename the edit route to custom-edit instead of edit.
But it doesn't feel right
Any better workaround is appreciated
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have this action
Actions\EditAction::make()
->icon('heroicon-o-pencil-square')
->color('warning')
->iconButton()
->slideOver(),
but I want it to open as a modal; I know that if I delete the edit route on the resource, it will turn into a modal, but I do want to keep the edit route for some other reasons.
How can I configure this to open as a modal?
Please or to participate in this conversation.