Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 67527

'dialog' is not a known element in Angular 9 with Ivy

$
0
0

After upgrading to Angular RC.3 and switching to Ivy in a project I get the following error:

Error: dialog is not a known element: 1. If dialog 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.

Indeed I have a markup like this using a <dialog>-element:

<dialog [attr.open]="open ? '' : null"></dialog>

Even though the browser coverage is not 100%dialog is still a valid HTML element.

Did they miss to support it? Is this a bug in Anglaur or Ivy? Can I only use the dialog-element, when I also use NO_ERRORS_SCHEMA in the components?*

* Which I actually don't want to activate.


Viewing all articles
Browse latest Browse all 67527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>