From 13a55d7eda4d5061631af72294e39f8670ae3f2e Mon Sep 17 00:00:00 2001 From: Astrian Zheng Date: Mon, 24 Feb 2025 14:32:26 +1100 Subject: [PATCH] feat: add available range prop to SingleDatePicker for date selection constraints --- playground/App.vue | 2 +- src/components/SingleDatePicker.vue | 56 +++++++++++++++++++++++++++-- 2 files changed, 54 insertions(+), 4 deletions(-) diff --git a/playground/App.vue b/playground/App.vue index 936b989..ea37a08 100644 --- a/playground/App.vue +++ b/playground/App.vue @@ -8,7 +8,7 @@ const date = ref(new Date()) diff --git a/src/components/SingleDatePicker.vue b/src/components/SingleDatePicker.vue index 3467d00..cf0ec27 100644 --- a/src/components/SingleDatePicker.vue +++ b/src/components/SingleDatePicker.vue @@ -1,5 +1,5 @@