StableAction
Go back
Overview
Returns to the previous page, like the browser's back button.
Purpose
Add it to a “Back” or “Cancel” button on detail and edit pages so people return to wherever they came from, whatever that was.
Inputs
- No settings.
Configuration
- Nothing to configure. Combine it with other actions if needed: for example Reset form, then Go back.
Outputs
- None.
Example
Cancel button on an edit page — A Button with the label “Cancel” and an On click event containing a single Go back action.
Example
On click: 1. Go back
Errors
- None — if there is no previous page in the browser history, nothing happens.
Limitations
- It uses the browser history, so when someone opened the page directly from a link (no previous page) the button does nothing. Use Go to page when you always want a specific destination.
- It does not close modals or drawers — use Close modal / Close drawer for those.
Advanced
- Schema:
{ type: "go_back" }. Callsrt.goBack()(history.back in live apps, the editor's own history in preview).