I have extended PriceCheckView by adding an AppBarCommand.
The this.context.navigator.navigate() navigates to the new view when I click on the custom button on the appBar.
However when I click on the standard back button top left it returns to the POS main page and not to the parent view that it navigated from, which is PriceCheckView.
I don't see anything specific that I need to do to have it return to the view that it was called from.
I also have custom on the InventoryLookupView where I added a command AppBar button to call a new custom form. When I click on the standard back button there, then it returns to the InventoryLookupView.
Why will PricecheckView not work the same?
I don't see anything specific in PosApi/Extend/Views/PriceCheckView and PosApi/Extend/Views/InventoryLookupView where one controls it. It is as if the context.navigator.navigate() method does it automatically, anyways it does on the InventoryLookupview
.

Report
All responses (
Answers (