-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: cdk/listbox
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
CdkOption
's tabindex
input should allow string
as input so that developers do not have to always use property binding.
Reproduction
Not needed
Expected Behavior
<li tabindex="-1" cdkOption></li>
should work without any issue
Actual Behavior
<li tabindex="-1" cdkOption></li>
gives error:
Type 'string' is not assignable to type 'number'.ngtsc(2322)
Environment
- Angular: 20
- CDK/Material: 20
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): macOS
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: cdk/listbox