From 1220e26282756dd732cee74aa87e7a27e8e0ece3 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 +++--- .../components/housing/submission/SubmissionIntakeForm.vue | 7 ++++--- .../unit/components/shasIntake/EnquiryIntakeForm.spec.ts | 3 ++- 3 files changed, 9 insertions(+), 7 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" > + + {