forked from ohcnetwork/care_fe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Confirm Dialog For Navigation on Edited Questionnaire Form (ohcnetwor…
…k#9838) * added logic for preventing navigation on dirty form * switch to using raviger's hook * reset isdirty after submission * i18n * Update src/components/Questionnaire/QuestionnaireForm.tsx * reset isDirty on form submit * rm setIsDirty in mutate --------- Co-authored-by: Rithvik Nishad <[email protected]>
- Loading branch information
1 parent
bc152cc
commit b749918
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters