How do i code a back button to return to the previous page of a multi-page app? The "Done" button at the end of a page returns to the app list, not the previous page. Can't find any documentation. I have tried "nextPage" in the dynamicPage definition, but it isn't working:
preferences {
page(name: "dashboardSettingsPage")
page(name: "devicePage")
}
def dashboardSettingsPage(){
return dynamicPage(name: "dashboardSettings", title: "Dashboard Setup", nextPage: "devicePage", install: true)
....