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
asyncleave(): Promise<void|NavigationCanceled>{if(this.model.formDirty&&!confirm("You have unsaved changes, are you sure you want to leave?")){returnnewNavigationCanceled(/* insert any more info here */);}return;}
I'm afraid of miss-use and edge cases with cancelation.
We can tell the developer to make the validation himself before making the navigation
The text was updated successfully, but these errors were encountered:
Example for possible implementation:
I'm afraid of miss-use and edge cases with cancelation.
We can tell the developer to make the validation himself before making the navigation
The text was updated successfully, but these errors were encountered: