Regression: 2026.3.6988 breaks init/loading
Asked by Leo
21 days ago.
21 days ago.
Hi Dan,
Updating to 2026.3.6988 breaks initialising any DayPilot component with empty options for us.
Before, we would init new this.dayPilot.Gantt('dp'); and then set options. This would break after 2026.3.6988 with
Cannot convert undefined or null to object
at Object.keys (<anonymous>)
at DayPilot.Scheduler.Sh (daypilot-pro-javascript.js?v=609ee145:26628:43)
at DayPilot.Scheduler.Jx (daypilot-pro-javascript.js?v=609ee145:26561:15)
at DayPilot.Scheduler.init (daypilot-pro-javascript.js?v=609ee145:26544:29)
at DayPilot.Gantt.init (daypilot-pro-javascript.js?v=609ee145:10155:56)In addition, other than other DayPilot instances, the Gantt also doesn’t work with new this.dayPilot.Gantt('dp', {}); but also requires a hacky gantt.scheduler.internal?.loadOptions?.({}); to work/load at all.
Cheers
Leo
DayPilot