From dfa72c64866ae387faec0826419d451719f3df54 Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Tue, 20 Feb 2024 07:16:03 +0000 Subject: [PATCH] fix(nc-gui): prevent selecting mixed Date types --- packages/nc-gui/components/dlg/ViewCreate.vue | 24 +++++++++++++++++-- .../smartsheet/toolbar/CalendarRange.vue | 19 +++++++++++++-- 2 files changed, 39 insertions(+), 4 deletions(-) diff --git a/packages/nc-gui/components/dlg/ViewCreate.vue b/packages/nc-gui/components/dlg/ViewCreate.vue index 7adfe5f454..7d3aaba442 100644 --- a/packages/nc-gui/components/dlg/ViewCreate.vue +++ b/packages/nc-gui/components/dlg/ViewCreate.vue @@ -436,7 +436,17 @@ onMounted(async () => { {{ $t('labels.organiseBy') }} - +
@@ -466,7 +476,17 @@ onMounted(async () => { :placeholder="$t('placeholder.notSelected')" class="!rounded-r-none nc-to-select" > - +
diff --git a/packages/nc-gui/components/smartsheet/toolbar/CalendarRange.vue b/packages/nc-gui/components/smartsheet/toolbar/CalendarRange.vue index 1f8e146902..60450e953f 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/CalendarRange.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/CalendarRange.vue @@ -130,7 +130,15 @@ const removeRange = async (id: number) => { :placeholder="$t('placeholder.notSelected')" @change="saveCalendarRanges" > - +
@@ -166,7 +174,14 @@ const removeRange = async (id: number) => { class="!rounded-r-none nc-to-select" @change="saveCalendarRanges" > - +