I'm trying - what I thought was simple - to have a custom module's edit view cancel button navigate to another view. However, it is proving more difficult as even after the navigation, it will jump back to to the previous screen.
The code I'm using in my edit view is:
const otherViewRoute = "Meetings/";
Stepping through the code, the view will jump to Meetings list view, but then a split second later, it will revert to where it should have been going. Is there a way to make the navigation stick?
I would be happy to add a custom element to the header rather than use cancel (which I can hide) - but I'm not sure ow to do that.