From 161e23cd7380d01f8447fba37fc7f0cb11abb2c9 Mon Sep 17 00:00:00 2001 From: Shaun Lum Date: Wed, 2 Oct 2024 11:44:47 -0700 Subject: [PATCH 1/2] fixed date input --- .../Batch/Forms/FormInputs/DateRangeInput.vue | 187 ++++++++++-------- .../src/services/BatchProcessingService.js | 66 +++++-- 2 files changed, 151 insertions(+), 102 deletions(-) diff --git a/frontend/src/components/Batch/Forms/FormInputs/DateRangeInput.vue b/frontend/src/components/Batch/Forms/FormInputs/DateRangeInput.vue index 3d2f0996..3485af26 100644 --- a/frontend/src/components/Batch/Forms/FormInputs/DateRangeInput.vue +++ b/frontend/src/components/Batch/Forms/FormInputs/DateRangeInput.vue @@ -19,7 +19,7 @@ v-model="gradDateFrom" label="Graduation Date From:" placeholder="yyyy-mm-dd" - @blur="validateAndFormatDate(gradDateFrom, 'gradDateFrom')" + @blur="validateAndFormatDate('gradDateFrom')" @input="debouncedCheckAndConvertDate('from')" >
@@ -31,7 +31,7 @@ v-model="gradDateTo" label="Graduation Date To:" placeholder="yyyy-mm-dd" - @blur="validateAndFormatDate(gradDateTo, 'gradDateTo')" + @blur="validateAndFormatDate('gradDateTo')" @input="debouncedCheckAndConvertDate('to')" >