During my experience with the dx-calendar
component from DevExtreme, I encountered an issue.
I was attempting to set Monday as the first day of the week by passing 1 to the firstDayOfWeek
property. Initially, I tried:
<dx-calendar firstDayOfWeek="1" />
However, this approach did not work. The correct solution turned out to be:
<dx-calendar [firstDayOfWeek]="1" />
Surprisingly, even though both methods seemed to pass 1 to the component, they resulted in different behaviors.
For a related question, check out this link.