From 0cccbb2db1bce6a697b30df9050c93cf3cfbe35c Mon Sep 17 00:00:00 2001 From: CarlNation Date: Thu, 7 May 2026 13:08:12 -0400 Subject: [PATCH] CASH-699 do not allow future dates for date of loss CASH-699 do not allow future dates for date of loss --- .../date-picker-popup/date-picker-popup.vue | 5 +++++ src/layouts/insurance-details/insurance-details.vue | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/digital-components/date-picker-popup/date-picker-popup.vue b/src/digital-components/date-picker-popup/date-picker-popup.vue index 3c666e775..7f3e109ac 100644 --- a/src/digital-components/date-picker-popup/date-picker-popup.vue +++ b/src/digital-components/date-picker-popup/date-picker-popup.vue @@ -27,6 +27,7 @@ :max-date="maxDate" :auto-apply="autoApply" :text-input="textInput" + :prevent-min-max-navigation="preventMinMaxNavigation" :teleport="true" :aria-labels="{ input: questionText }" @update:model-value="onDateChange" @@ -106,6 +107,10 @@ export default { type: Boolean, default: false, }, + preventMinMaxNavigation: { + type: Boolean, + default: false, + }, questionAlignment: String, labelBold: { type: Boolean, diff --git a/src/layouts/insurance-details/insurance-details.vue b/src/layouts/insurance-details/insurance-details.vue index 6713819c2..a675e0871 100644 --- a/src/layouts/insurance-details/insurance-details.vue +++ b/src/layouts/insurance-details/insurance-details.vue @@ -40,7 +40,9 @@ modelType="MM/dd/yyyy" :enableTimePicker="false" :clearable="false" - :textInput="true" /> + :textInput="true" + :maxDate="today" + :preventMinMaxNavigation="true" />