Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
adrael opened this issue Apr 6, 2017 · 3 comments
Closed

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

adrael opened this issue Apr 6, 2017 · 3 comments

Comments

@adrael
Copy link

adrael commented Apr 6, 2017

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

@willshowell
Copy link
Contributor

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

@adrael
Copy link
Author

adrael commented Apr 6, 2017

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

@adrael adrael closed this as completed Apr 6, 2017
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants