kendo-react
kendo-react copied to clipboard
[Bug][Scheduler] Custom edit item setting `series` to true shows the slot date
I'm submitting a...
- Bug report
Current behavior
When rendering a custom edit item and setting the series property to true as well as setting showOccurrenceDialog to false, editing the item as a series should occur after double clicking it. However, in this case, the date displayed is that of the slot and not the series.
Expected behavior
The series date is displayed in the start and end date.
Minimal reproduction of the problem with instructions
- Open this demo - https://stackblitz.com/edit/react-2pycz7-mcstkf?file=app%2Fmain.tsx
- Navigate to the month of January 2024 and click on the first item (Sunday 31st)
- The start and end date is
12/31/2023which is the date of the slot - Remove the series and showOccurence properties, double click the first item again, and choose "Edit the Series" option.
- In this case the date is
12/25/2023which is the correct date that should be displayed when setting series totrue
Workaround
Hide the Edit Current Occurence button: https://stackblitz.com/edit/react-2pycz7-zvf6m3?file=app%2Fmain.tsx
Reported in Ticket ID: 1635819