Skip to content

Alert dialog when leaving forms - #206

Open
derrikzzz wants to merge 15 commits into
devfrom
alert-dialog-when-leaving-forms
Open

derrikzzz wants to merge 15 commits into
devfrom
alert-dialog-when-leaving-forms

Conversation

@derrikzzz

Copy link
Copy Markdown
Contributor

This PR aims to alert users when they are clicking on other components in the navbar by adding the useSafeguardUnsavedChanges hook for navigation blocking, designed to prevent users from accidentally navigating away from forms with unsaved data.

…ard for following submissions for consultations and vitals

This branch was successfully deployed

1 active deployment
Preview — 16f66675 Deployed Dec 11, 2025 by derrikzzz via preview #650
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant