How can i trigger the save and stay action?

Hi there,

Im looking for a way to trigger the “Save and Stay” option from within an extension.


Is there any way to do that?
I have tried to dispatch a custom keyboard event (CTRL + S) but that does not work.

This is currently not possible as those actions are not exposed outside the form

I’m using this extension in on of my projects, I remember I had access to the src code of it, but can’t remember where exactly. so just wanted to share it with you maybe it helps.