Skip to content

Alert the user when navigating away with unsaved changes

Samtar requested to merge T365161 into main

Alert the user when navigating away with unsaved changes

Use beforeunload to show a browser default message when the form has been changed, and the user tries to navigate away. Add a formchanged data property in setup() using ref.

Bug: T365161

Merge request reports