From 2e9eb1ae5ddb79621b45e29e1dc40dd11cf1ef90 Mon Sep 17 00:00:00 2001 From: Sanjay Babu Date: Fri, 20 Sep 2024 14:57:24 -0700 Subject: [PATCH] FormNavigationGuard added to Submission and Enquiry intake --- .../src/components/housing/enquiry/EnquiryIntakeForm.vue | 6 +++--- .../housing/submission/SubmissionIntakeForm.vue | 8 ++++---- .../unit/components/shasIntake/EnquiryIntakeForm.spec.ts | 3 ++- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/housing/enquiry/EnquiryIntakeForm.vue b/frontend/src/components/housing/enquiry/EnquiryIntakeForm.vue index c89280e6..1833308f 100644 --- a/frontend/src/components/housing/enquiry/EnquiryIntakeForm.vue +++ b/frontend/src/components/housing/enquiry/EnquiryIntakeForm.vue @@ -9,6 +9,7 @@ import BackButton from '@/components/common/BackButton.vue'; import { EditableDropdown, Dropdown, + FormNavigationGuard, InputMask, InputText, RadioList, @@ -293,9 +294,6 @@ async function emailConfirmation(activityId: string, enquiryId: string) {
@@ -317,6 +315,8 @@ async function emailConfirmation(activityId: string, enquiryId: string) { @submit="confirmSubmit" @change="formUpdated = true" > + + {