After upgrading to Angular RC.3 and switching to Ivy in a project I get the following error:
Error:
dialogis not a known element: 1. Ifdialogis an Angular component, then verify that it is part of this module. 2. To allow any element addNO_ERRORS_SCHEMAto the@NgModule.schemasof 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.
from 'dialog' is not a known element in Angular 9 with Ivy
No comments:
Post a Comment