Closed mfaheemakhtar closed 1 year ago
React Scheduler
I am trying to use the custom plugin from #2820 but the scheduler is crashing with this error.
the item array has no elements and reading item[0] is causing the issue.
item
item[0]
It seems to work correctly on the code sandbox. What might be the issue on my end?
Should not crash.
No steps.
Works without the issue on sandbox: https://codesandbox.io/s/devextreme-react-scheduler-for-material-ui-forked-tu6csf?file=/index.js
Update: Changing cellDuration to 30 stopped crashing it. Not sure if it is just random or really works
Update: Not working.
<WeekView startDayHour={0} endDayHour={24} cellDuration={30} />
Is there an existing issue for this?
I'm using ...
React Scheduler
Current Behaviour
I am trying to use the custom plugin from #2820 but the scheduler is crashing with this error.
the
item
array has no elements and readingitem[0]
is causing the issue.It seems to work correctly on the code sandbox. What might be the issue on my end?
Expected Behaviour
Should not crash.
Steps to Reproduce
No steps.
Works without the issue on sandbox: https://codesandbox.io/s/devextreme-react-scheduler-for-material-ui-forked-tu6csf?file=/index.js
Environment