Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ask Confirmation Before Navigating Away from Questions Page When State is Dirty #9804

Open
aravindm4 opened this issue Jan 7, 2025 · 0 comments · May be fixed by #9838
Open

Ask Confirmation Before Navigating Away from Questions Page When State is Dirty #9804

aravindm4 opened this issue Jan 7, 2025 · 0 comments · May be fixed by #9838
Assignees

Comments

@aravindm4
Copy link

When clicking the “Back” button while forms/questionnaires, the application immediately navigates away, even if there are unsaved changes (dirty state). This can result in users unintentionally losing their work. To improve user experience and prevent data loss, the system should ask for confirmation before navigating away from the page if the form state is dirty.

Expected Behavior
1. When a a user click back button while filling a form , a confirmation dialog should appear if they attempt to navigate away
3. The dialog should provide the following options to stay on the page and also option to leave.

Step o reproduce

  • While filling a questionnaire, click on back button.
@aravindm4 aravindm4 added this to Care Jan 7, 2025
@github-project-automation github-project-automation bot moved this to Triage in Care Jan 7, 2025
@Jacobjeevan Jacobjeevan self-assigned this Jan 7, 2025
@Jacobjeevan Jacobjeevan linked a pull request Jan 8, 2025 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Triage
Development

Successfully merging a pull request may close this issue.

2 participants