Skip to content

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

Closed

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

Activity

  1. willshowell commented on Apr 6, 2017

    @willshowell
    Contributor

    This has been fixed in master and will be included in beta 3. See PR here #3608. More info #3900.

  2. adrael commented on Apr 6, 2017

    @adrael
    Author

    Ok my bad, the search did not return any working results!
    Thanks, closing.

  3. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  4. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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