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.

I have the same case. What I do is to get the save and stay DOM element, then run the click() function LOL

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.