In Angular 13 Application I need to save the unsaved form details if those form details are not saved(still in editable mode) and if user tries to navigate to another page in that state, I need to capture those form data.
Can anyone please tell me how to check the form status before page redirects to another page.
Just need solution to save the form before moving to another page.
Please let me know if need more details or implementation details for this question
Thanks in advance...