Hi Manolo,
Our components are to be rendered as Angular Module and not as Angular Component. Rendering using Angular Component will not work in latest angular versions as it is not the correct structure of the Angular project. It has not been updated in our documentation. The documentation will be modified and refreshed in online as early as possible.
So, you can use Module instead of Component to resolve your issue. Please check the below code block,
app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { NumericTextBoxModule } from '@syncfusion/ej2-angular-inputs';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
NumericTextBoxModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
|
We have modified your sample with the above mentioned changes –
Please check it and let us know if you have any more concerns.
Thanks,
Christo