You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, many thanks to @pomianowski and other contributors for creating and maintaining this solution, your work is very much appreciated!!
My question is: Is there a way for a view model to disable or cancel navigation? If a user is in the middle of editing, I want them to either save or discard changes before moving to another screen. Maybe I could disable the navigation menu when editing starts, or wire into an event to cancel it? Hopefully I'm missing something easy, any suggestions are appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
First off, many thanks to @pomianowski and other contributors for creating and maintaining this solution, your work is very much appreciated!!
My question is: Is there a way for a view model to disable or cancel navigation? If a user is in the middle of editing, I want them to either save or discard changes before moving to another screen. Maybe I could disable the navigation menu when editing starts, or wire into an event to cancel it? Hopefully I'm missing something easy, any suggestions are appreciated.
Beta Was this translation helpful? Give feedback.
All reactions