diff --git a/io.sc.platform.core.frontend/src/platform/components/date/WDateRange.vue b/io.sc.platform.core.frontend/src/platform/components/date/WDateRange.vue index 0a575588..c6456623 100644 --- a/io.sc.platform.core.frontend/src/platform/components/date/WDateRange.vue +++ b/io.sc.platform.core.frontend/src/platform/components/date/WDateRange.vue @@ -15,7 +15,7 @@ if (dateRangeRef) { const toValue = dateRangeRef.getFieldValue('to'); if (!Tools.isEmpty(toValue)) { - return date < toValue.replace(/-/g, '/'); + return date <= toValue.replace(/-/g, '/'); } return true; } @@ -31,7 +31,7 @@ if (dateRangeRef) { const fromValue = dateRangeRef.getFieldValue('from'); if (!Tools.isEmpty(fromValue)) { - return date > fromValue.replace(/-/g, '/'); + return date >= fromValue.replace(/-/g, '/'); } return true; } @@ -39,6 +39,11 @@ }, }, ]" + @update-value=" + (args) => { + modelValue = args.value; + } + " > @@ -83,7 +88,7 @@