Как я могу использовать Angular-Calendar в Angular 17?Html

Программисты Html
Anonymous
Как я могу использовать Angular-Calendar в Angular 17?

Сообщение Anonymous »

Я преобразовываю проект Angular 9 в Angular 17 и один компонент, получивший плагин с угловым календарем, который в последний раз публиковался год назад, < /p>
in component.html он реализован таким образом, < /p>



< /code>
В компоненте. ],
imports: [
BrowserModule,
AppRoutingModule,
ReactiveFormsModule,
FormsModule,
HttpClientModule,
NgxDropzoneModule,
CalendarModule.forRoot({
provide: DateAdapter,
useFactory: adapterFactory,
}),
],
< /code>
Но компонент все еще не был признан, в component.html. Получение такими ошибками, < /p>
NG8002: Can't bind to 'refresh' since it isn't a known property of 'mwl-calendar-day-view'.
1. If 'mwl-calendar-day-view' is an Angular component and it has 'refresh' input, then verify that it is included in the '@Component.imports' of this component.
2. If 'mwl-calendar-day-view' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@Component.schemas' of this component to suppress this message.
3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@Component.schemas' of this component. [plugin angular-compiler]


Подробнее здесь: https://stackoverflow.com/questions/782 ... angular-17

Вернуться в «Html»