-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Description
Currently, the "Localization&Formatting" section is disabled for the calendar Blazor topic.
Ref Blazor topic: https://www.infragistics.com/products/ignite-ui-blazor/blazor/components/scheduling/calendar
Ref WC topic: https://staging.infragistics.com/products/ignite-ui-web-components/web-components/components/scheduling/calendar#localization-and-formatting
There is a corresponding sample - ref - https://github.com/IgniteUI/igniteui-blazor-examples/blob/vnext/samples/scheduling/calendar/formatting/App.razor.
However, the FormatOptions property seems to break the component.
If the sample is run and one attempts to change the radios values, nothing happens.
If the FormatOptions property is removed, the sample works as expected.
Moreover, if the FormatOptions is set directly with the property definition:
private IgbCalendarFormatOptions CalendarFormat = new IgbCalendarFormatOptions() { Month = "short", Weekday = "short" };
an error is thrown from the internal web component.
Steps to reproduce
Written above
Result
Written above
Expected result
Work as the WC sample. Goal is to enable the section in the docs.
Attachments
More context: issue encountered when reviewing the Calendar topic and discrepancies between it and the WC topic.
Ref - IgniteUI/igniteui-xplat-docs#1823 (comment)