From e23a30c693fbb57d639e533fbac86abb509b431e Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 9 Jul 2024 16:05:19 +0200 Subject: [PATCH] feat: handle dates --- src/components/common/VnInputDate.vue | 1 + src/pages/Item/ItemFixedPrice.vue | 20 ++------------------ 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/src/components/common/VnInputDate.vue b/src/components/common/VnInputDate.vue index b22de3606..60f693d18 100644 --- a/src/components/common/VnInputDate.vue +++ b/src/components/common/VnInputDate.vue @@ -122,6 +122,7 @@ watch( :no-focus="true" > @@ -538,15 +530,7 @@ onUnmounted(() => (stateStore.rightDrawer = false)); style="max-width: 125px" :show-event="false" v-model="props.row.ended" - v-on="getRowUpdateInputEvents(props, false, 'date')" - v-bind=" - isLower(props.row.started) - ? { - 'bg-color': 'warning', - 'is-outlined': true, - } - : {} - " + :options="(date) => date > props.row.ended" />