Skip to content
This repository was archived by the owner on Sep 16, 2022. It is now read-only.

Angular 7 - Can't bind to 'data-*' since it isn't an input of any bound directive or a native property. #1977

@lelabo-m

Description

@lelabo-m

I am using a frontend framework and js interop in my app.

Since my upgrade to latest version with NNBD support, I am seeing errors on this kind of HTML;

<span class="helper-text" data-error="Please enter a valid title" data-success=""></span>
Can't bind to 'data-error' since it isn't an input of any bound directive or a native property. Please check that the spelling is correct, or that the intended directive is included in the host component's list of directives. See more details go/skipschemavalidationfor.
If your project uses selector css styling heavily, or the templates contain external custom elements not supported by ACX, then this feature might not be a good fit for your project. To prevent compilation errors, please add your project to the disallow list in go/opted-out-missing-directive-validator

I can't find the resources mentioned in this message:

  • go/skipschemavalidationfor
  • go/opted-out-missing-directive-validator

And I don't have any idea on how to fix this error.

Env:

Dart: 2.14.2
AngularDart: 7.0.0
OS: Ubuntu 20.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions