From 52b2ed277e11bf15624f821ff291eb8b46fe9ae5 Mon Sep 17 00:00:00 2001 From: Rajaneesh Date: Wed, 11 Oct 2023 19:18:20 +0530 Subject: [PATCH] Fix callback issue preventFormSubmission --- .../src/components/notice-choice/notice-choice.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/web-components/src/components/notice-choice/notice-choice.ts b/packages/web-components/src/components/notice-choice/notice-choice.ts index 582d19bd540..3d3d064740a 100644 --- a/packages/web-components/src/components/notice-choice/notice-choice.ts +++ b/packages/web-components/src/components/notice-choice/notice-choice.ts @@ -197,6 +197,8 @@ class NoticeChoice extends StableSelectorMixin(LitElement) { if (this.ncData?.mandatoryCheckbox[this.country?.toLocaleLowerCase()]) { this.preventFormSubmission = true; this._onChange('preventFormSubmission', 'formSubmissionNo'); + } else { + this._onChange('preventFormSubmission', 'formSubmissionYes'); } /** * @description if the user already interacted with the checkboxes,