You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the view mode for a Scheduler is set on the model in ASP.NET Core, it fails to render correctly.
From inspecting the behaviour in the console, this appears to be because the viewMode variable in the JavaScript is all lowercase e.g. "monthview" instead of "monthView". This means that it fails to be matched correctly (see attached screenshot).
ignite-ui version: Ignite UI for ASP.NET Core
browser: any
Steps to reproduce
(code sample attached)
Make a model that extends the Infragistics SchedulerModel
If the views parameter passed in to the model is null, then the scheduler renders correctly.
If a value is set for the views e.g. IEnumerable<SchedulerViewMode> viewModes = new List<SchedulerViewMode>() { SchedulerViewMode.MonthView, SchedulerViewMode.AgendaView }; then the scheduler fails to render
Expected result
The scheduler is rendered correctly whatever view modes are set.
Description
When the view mode for a Scheduler is set on the model in ASP.NET Core, it fails to render correctly.
From inspecting the behaviour in the console, this appears to be because the viewMode variable in the JavaScript is all lowercase e.g. "monthview" instead of "monthView". This means that it fails to be matched correctly (see attached screenshot).
Steps to reproduce
(code sample attached)
Result
If the views parameter passed in to the model is null, then the scheduler renders correctly.
If a value is set for the views e.g.
IEnumerable<SchedulerViewMode> viewModes = new List<SchedulerViewMode>() { SchedulerViewMode.MonthView, SchedulerViewMode.AgendaView };
then the scheduler fails to renderExpected result
The scheduler is rendered correctly whatever view modes are set.
Attachments
igScheduler.zip
Target result:
Actual result (failed rendering):
Console error:
The text was updated successfully, but these errors were encountered: