Closed
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
I am using basic datepicker to select a single date. However, chrome devtools shows "A isn't associated with a form field." issue every time datepicker opened. The issiues caused by labels with the mat-calendar-body-hidden-label class.
Reproduction
StackBlitz link: https://stackblitz.com/edit/yyx8cv?file=package.json
Steps to reproduce:
- Open the datepicker
Expected Behavior
Not getting a warning.
Actual Behavior
Hundreds of "A isn't associated with a form field."
Environment
- Angular: 18.2.4
- CDK/Material: 18.2.4
- Browser(s): Chrome 128
- Operating System (e.g. Windows, macOS, Ubuntu): Windows 10