Skip to content

[MdAutocomplete] The <template> element is deprecated. #3926

Closed
@adrael

Description

@adrael

Bug, feature request, or proposal:

Proposal:
Replace ‹template› element with ‹ng-template›

Which versions of Angular, Material, OS, browsers are affected?

"@angular/material": "^2.0.0-beta.2",
"@angular/core": "^4.0.1"

Is there anything else we should know?

In the latest release, Angular warns us about the deprecation of the element.
The exact message being:

The ‹template› element is deprecated. Use ‹ng-template› instead ("[WARNING -›]‹template›‹div class="mat-autocomplete-panel" role="listbox" [id]="id" [ngClass]="_getClassList()" #p"): ng:///MdAutocompleteModule/MdAutocomplete.html@0:0

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