Skip to content

Template binding does not recognize the 'inert' property. #51879

@examan

Description

@examan

Which @angular/* package(s) are the source of the bug?

Don't known / other

Is this a regression?

No

Description

The 'inert' property under HTMLElement can be accessed correctly in TypeScript, but it cannot be used with template binding.

Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/i7jj8y?file=src%2Fapp%2Fapp.component.html

Please provide the exception or error you saw

error NG8002: Can't bind to 'inert' since it isn't a known property of 'a'.

Please provide the environment you discovered this bug in (run ng version)

Angular CLI: 16.2.3
Node: 16.20.0
Package Manager: npm 9.4.2
OS: linux x64

Angular: 16.2.6
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1602.3
@angular-devkit/build-angular   16.2.3
@angular-devkit/core            16.2.3
@angular-devkit/schematics      16.2.3
@angular/cli                    16.2.3
@schematics/angular             16.2.3
rxjs                            7.8.1
typescript                      4.9.5
zone.js                         0.13.3

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreIssues related to the framework runtimecore: binding & interpolationIssue related to property/attribute binding or text interpolation

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions