-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
I'm upgrading angular 14 to 15 and ngx-smart-modal from 7.4.1 to 14.0.3 and it start throwing this error.
Error: src/app/supply/my-edit-modal/my-edit-modal.component.html:2:3 - error NG8002: Can't bind to 'autostart' since it isn't a known property of 'ngx-smart-modal'.
1. If 'ngx-smart-modal' is an Angular component and it has 'autostart' input, then verify that it is part of this module.
2. If 'ngx-smart-modal' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.
2 [autostart]="true"
~~~~~~~~~~~~~~~~~~
src/app/supply/my-edit-modal/my-edit-modal.component.ts:23:16
23 templateUrl: './my-edit-modal.component.html',
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component PwfOnPalletEditModalComponent.
But when I look at the source code it indeed exists https://github.com/maximelafarie/ngx-smart-modal/blob/90616b5876de6e7db0913fb65fb66f5e01ba1a58/projects/ngx-smart-modal/src/lib/components/ngx-smart-modal.component.ts#L76C23-L76C23. Any ideas how to fit it?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels