StableData binding
Page state
Overview
A variable that belongs to one page — the active filter, the selected tab, a “show archived” toggle.
Purpose
Keep page-level UI choices out of app state. Declare variables in the page settings (Page state), set them with Set state, bind components to them.
Inputs
- Data Picker group Page state: the variables declared for the current page.
Configuration
- Page state starts empty each time the app is loaded; set an initial value with a Set state action in the page's On load if you need one.
- Templates:
{{pageState.status}}.
Outputs
- The variable's current value for this page.
Example
Status filter
Example
Dropdown “Status” › On change: Set state Page state › status = Event › value Table (data: Jobs) · Filter: Status equals Page state › status
Errors
- None.
Limitations
- Values are kept per page while the app is open and are never saved.
Advanced
{ type: "page_state", key }. Stored underpageState[pageId]in the runtime store; declared defaults are not seeded automatically.