From 42fd20b1926e977e79c00bc32c8150e40ccad7f7 Mon Sep 17 00:00:00 2001 From: "QSL\\SumathiT" Date: Wed, 6 Nov 2024 14:27:21 -0800 Subject: [PATCH] Date validation message change. --- frontend/src/components/assessments/sessions/SessionEdit.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/assessments/sessions/SessionEdit.vue b/frontend/src/components/assessments/sessions/SessionEdit.vue index d249a6af..87cbab14 100644 --- a/frontend/src/components/assessments/sessions/SessionEdit.vue +++ b/frontend/src/components/assessments/sessions/SessionEdit.vue @@ -24,7 +24,7 @@ v-model="editSession.activeUntilDate" label="Close Date" model-type="yyyy-MM-dd'T'00:00:00" - :rules="[rules.endDateRule(editSession.activeFromDate, editSession.activeUntilDate), rules.required()]" + :rules="[rules.endDateRule(editSession.activeFromDate, editSession.activeUntilDate, 'Close Date cannot be before Open Date'), rules.required()]" :allow-teleport="true" @update:model-value="validateForm" @clear-date="clearCloseDate"