feat: past and overlapping ooo (#17373)

* feat: past and overlapping ooo

* use existing props

* added e2e test

* disallow duplicates added tests

---------

Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
Amit SharmaandPeer Richelsen authored and GitHub committed 2024-11-24 18:58:22 +00:00
1 parent 3936a0ae94
commit 5af10a2f61
5 files changed
+131 -54

No files matched your search

@@ -162,6 +162,7 @@ export const CreateOrEditOutOfOfficeEntryModal = ({
control={control}
render={({ field: { onChange, value } }) => (
<DateRangePicker
minDate={null}
dates={{ startDate: value.startDate, endDate: value.endDate }}
onDatesChange={(values) => {
onChange(values);