telerik / kendo-angular

Issue tracker - Kendo UI for Angular
http://www.telerik.com/kendo-angular-ui/
Other
463 stars 213 forks source link

[TimePicker] Associating the label with the component doesn't work properly when using `for` #4335

Open yanmariomenev opened 1 week ago

yanmariomenev commented 1 week ago

Describe the bug It seems that the label element doesn't associate properly when using for and template referencing the component. If the disabled property of the component is set to false, then the label is associated correctly.

To Reproduce Open the following example and inspect the label: https://stackblitz.com/edit/angular-vshzrp?file=src%2Fapp%2Fapp.component.ts

Screenshots

Screenshot 2024-06-26 at 10 26 42 Disabled set to false: Screenshot 2024-06-26 at 10 27 17