Question : add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message
Answered by : mitchaloha
//In the app.module.ts
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
...
@NgModule({ declarations: [ ... ], exports: [ ... ], imports: [ ... ], schemas: [ CUSTOM_ELEMENTS_SCHEMA ]
})
Source : https://stackoverflow.com/questions/39428132/custom-elements-schema-added-to-ngmodule-schemas-still-showing-error | Last Update : Mon, 01 Mar 21