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
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
When I'm using the mat-calendar component, it doesn't show the initially selected date.
I've tried locally and modifying a StackBlitz example from the docs (see reproduction). Neither seem to work.
Reproduction
Steps to reproduce:
Set an initial value for the selected input to a value that differs from today. (eg. new Date(2010,10,9)).
Is this a regression?
The previous version in which this bug was not present was
No response
Description
When I'm using the
mat-calendar
component, it doesn't show the initially selected date.I've tried locally and modifying a StackBlitz example from the docs (see reproduction). Neither seem to work.
Reproduction
Steps to reproduce:
selected
input to a value that differs from today. (eg.new Date(2010,10,9)
).Example: https://stackblitz.com/edit/angular-34hcys?file=src%2Fapp%2Fdatepicker-inline-calendar-example.ts
Expected Behavior
The component should show the initial value.
Actual Behavior
The component always sets the default value to today.
Environment
The text was updated successfully, but these errors were encountered: