From 5c44819eeb5d24dfa11f2fd7abf588891fefabf1 Mon Sep 17 00:00:00 2001 From: Erin Dalzell Date: Wed, 18 Mar 2026 12:29:59 -0700 Subject: [PATCH 1/2] Dates can't be strings --- resources/js/components/ui/DatePicker/DatePicker.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/js/components/ui/DatePicker/DatePicker.vue b/resources/js/components/ui/DatePicker/DatePicker.vue index bd6ed6c5c5b..89743d8ece0 100644 --- a/resources/js/components/ui/DatePicker/DatePicker.vue +++ b/resources/js/components/ui/DatePicker/DatePicker.vue @@ -31,11 +31,11 @@ const props = defineProps({ /** Badge text to display. */ badge: { type: String, default: null }, required: { type: Boolean, default: false }, - /** The controlled date value.

Should be a [`DateValue` object](https://reka-ui.com/docs/guides/dates) or an ISO 8601 datetime string with a UTC offset. */ + /** The controlled date value.

Should be a [`DateValue` object](https://reka-ui.com/docs/guides/dates) */ modelValue: { type: [Object, String], default: null }, - /** The minimum selectable date.

Should be a [`DateValue` object](https://reka-ui.com/docs/guides/dates) or an ISO 8601 datetime string with a UTC offset. */ + /** The minimum selectable date.

Should be a [`DateValue` object](https://reka-ui.com/docs/guides/dates) */ min: { type: [String, Object], default: null }, - /** The maximum selectable date.

Should be a [`DateValue` object](https://reka-ui.com/docs/guides/dates) or an ISO 8601 datetime string with a UTC offset. */ + /** The maximum selectable date.

Should be a [`DateValue` object](https://reka-ui.com/docs/guides/dates) */ max: { type: [String, Object], default: null }, /** The granularity of the date picker.

Options: `day`, `hour`, `minute`, `second` */ granularity: { type: String, default: null }, From cb8a663c165fce3de31add4c688d557f5cde672b Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Thu, 19 Mar 2026 09:27:15 +0000 Subject: [PATCH 2/2] Update in DateRangePicker too --- .../js/components/ui/DateRangePicker/DateRangePicker.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/js/components/ui/DateRangePicker/DateRangePicker.vue b/resources/js/components/ui/DateRangePicker/DateRangePicker.vue index 1410c7943b5..6eb2e0db61b 100644 --- a/resources/js/components/ui/DateRangePicker/DateRangePicker.vue +++ b/resources/js/components/ui/DateRangePicker/DateRangePicker.vue @@ -31,11 +31,11 @@ const props = defineProps({ /** Badge text to display. */ badge: { type: String, default: null }, required: { type: Boolean, default: false }, - /** The controlled date range value.

Should be a [`DateRange` object](https://reka-ui.com/docs/guides/dates) or an object with `start` and `end` keys, where each value is an ISO 8601 datetime string with a UTC offset. */ + /** The controlled date range value.

Should be a [`DateRange` object](https://reka-ui.com/docs/guides/dates). */ modelValue: { type: [Object, String], default: null }, - /** The minimum selectable date.

Should be a [`DateValue` object](https://reka-ui.com/docs/guides/dates) or an ISO 8601 datetime string with a UTC offset. */ + /** The minimum selectable date.

Should be a [`DateValue` object](https://reka-ui.com/docs/guides/dates). */ min: { type: [String, Object], default: null }, - /** The maximum selectable date.

Should be a [`DateValue` object](https://reka-ui.com/docs/guides/dates) or an ISO 8601 datetime string with a UTC offset. */ + /** The maximum selectable date.

Should be a [`DateValue` object](https://reka-ui.com/docs/guides/dates). */ max: { type: [String, Object], default: null }, /** The granularity of the date range picker.

Options: `day`, `hour`, `minute`, `second` */ granularity: { type: String, default: null }, @@ -176,4 +176,4 @@ const calendarEvents = computed(() => ({ - \ No newline at end of file +