Allow using hgroup tag in Angular templates
See original GitHub issueπ bug report
This is a very simple issue and there arenβt many details to share
Description
Iβm getting compilation error on including the hgroup
tag in a template which is a totally valid html tag.
Error in src/app/app.component.html (6:1)
'hgroup' is not a known element:
1. If 'hgroup' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.
π¬ Minimal Reproduction
https://stackblitz.com/edit/angular-ivy-vwcpfd?file=src/app/app.component.html
if there isnβt any special reason to exclude this tag, it would help composing html semantically
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
'hgroup' is not a known element error in Angular 5
If 'hgroup' is an Angular component, then verify that it is part of this module. To allow any element add 'NO_ERRORS_SCHEMA' to the...
Read more ><hgroup> - HTML: HyperText Markup Language | MDN
The <hgroup> element allows the grouping of a heading with any secondary content, such as subheadings, an alternative title, or tagline.
Read more >Content projection - Angular
With an <ng-template> element, you can have your component explicitly render content based on any condition you want, as many times as you...
Read more >Building a template-driven form - Angular
This tutorial shows you how to create a template-driven form. The control elements in the form are bound to data properties that have...
Read more >Validating form input - Angular
To add validation to a template-driven form, you add the same validation attributes as you would with native HTML form validation. Angular uses...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.