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. Ifdialog
is an Angular component, then verify that it is part of this module. 2. To allow any element addNO_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.