IgniteUI / igniteui-blazor

Ignite UI for Blazor component library packs 35+ native Blazor UI Controls with 60+ high-performance Charts designed for any Blazor WASM or Server-side app scenario.
https://www.infragistics.com/products/ignite-ui-blazor
3 stars 3 forks source link

Calendar doesn't support no initial value of variable #123

Open GrblackStar opened 2 months ago

GrblackStar commented 2 months ago

Description

Use the sample provided below. It contains one date picker and one calendar two-way bound to a variable. The variable doesn't have initial value, so problems occur

Steps to reproduce

  1. run the sample. The calendar looks disabled

  2. Change the date from the date picker The date changes, but only in the calendar's header image

  3. Change the date from the calendar That successfully changes the date in the date picker as well and "enables" the calendar. No it's date can be changed from outside. image

  4. Take a look at the year the calendar picks. Because there is no default date, it selects the earliest it can (1901)

Expected result

The calendar to support no initial value like in the other platforms. In Angular for example, when there is no initial value for the variable, when you open the app, it looks like this image No value is selected, but the calendar is not "disabled" and it is showing the current day and year

Attachments

Calendar.zip