From 1cfc495c87a7b42bd0680d0a7543f2b2a55de852 Mon Sep 17 00:00:00 2001 From: King-Ponpawit Date: Wed, 25 Jan 2023 15:42:15 +0700 Subject: [PATCH] Update Calendar disable year and month when set max-min Fix onYearCellKeydown --- components/calendar/Calendar.vue | 64 +++++++++++++++++++++++++------- 1 file changed, 51 insertions(+), 13 deletions(-) diff --git a/components/calendar/Calendar.vue b/components/calendar/Calendar.vue index 7c497afd9..5794b2b9a 100755 --- a/components/calendar/Calendar.vue +++ b/components/calendar/Calendar.vue @@ -96,7 +96,7 @@ {{ getYear(month) }} - {{ yearPickerValues[0] }} - {{ yearPickerValues[yearPickerValues.length - 1] }} + {{ yearPickerValues[0].value }} - {{ yearPickerValues[yearPickerValues.length - 1].value }}