From da89f0929f9caca62442a80c0670ca73f078e02b Mon Sep 17 00:00:00 2001 From: Bryan Mauger Date: Wed, 26 Jun 2024 11:27:20 -0400 Subject: [PATCH] WIP CSR-2115 --- src/constants/error-messages.js | 1 + .../checkbox-question/checkbox-question.vue | 32 ++++++++ src/layouts/payment-method/payment-method.vue | 79 ++++++++++--------- src/main.js | 10 +-- 4 files changed, 79 insertions(+), 43 deletions(-) diff --git a/src/constants/error-messages.js b/src/constants/error-messages.js index 71c782856..4326a5412 100644 --- a/src/constants/error-messages.js +++ b/src/constants/error-messages.js @@ -24,6 +24,7 @@ const errorMessages = { VIN_FORMAT: "Invalid VIN. Please make sure that you entered the correct 17-digit, alpha-numeric number. VINs do not contain the letters I, O, or Q", OPTION_REQUIRED: "Please select an option", + RECAL_ACK_REQUIRED: "Please acknowledge recalibration alert", VEHICLE_REQUIRED: "Please select a vehicle", MOBILE_LOCATION_REQUIRED: "Please enter your service address", DATE_REQUIRED: "Please select a date", diff --git a/src/digital-components/checkbox-question/checkbox-question.vue b/src/digital-components/checkbox-question/checkbox-question.vue index fc95555e4..c256fd0aa 100644 --- a/src/digital-components/checkbox-question/checkbox-question.vue +++ b/src/digital-components/checkbox-question/checkbox-question.vue @@ -10,6 +10,7 @@ type="checkbox" aria-checked="false" :name="checkboxName" + :validationRules="validationRules" :id="buttonID" :tabindex="tabIndex" :aria-required="isRequired" /> @@ -20,6 +21,10 @@