Calendar firstDayOfWeek returns the number of months #11070
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ...
Current behavior
firstDayOfWeek in a Calendar component returns the number of months.
Expected behavior
firstDayOfWeek in a Calendar component should return the first day of week.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Noticed this by chance, while reviewing the changes from 9c6682c.
Seems to be a copy/paste issue while creating the getter (related to #9635).
Angular version: 13.x
PrimeNG version: 13.0.4
The text was updated successfully, but these errors were encountered: