Closed djshubs closed 6 days ago
Here's my component:
<DateTimePicker value={field.value ?? new Date()} onChange={(date) => { field.onChange(date); field.onBlur(); }} timezone={session.timeZone || "UTC"} timePicker={{ second: false, }} />
Here's the error I'm getting:
@djshubs You should set both hour and minute to true instead.
hour
minute
true
timePicker={{ hour: true, minute: true }}
https://shadcn-datetime-picker-pro.vercel.app/?path=/story/datetimepicker--date-time-input-picker
Here's my component:
Here's the error I'm getting: