Template parse errors: Can't bind to 'settings' since it isn't a known property of 'ng2-smart-table'.
- Ngôn ngữ chính
- TypeScript
- Star
- 1.6k
- Fork
- 867
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
ng2 smart table is working in app.component.html. But when used it in inner componets then it shows
Uncaught Error: Template parse errors:
Can't bind to 'settings' since it isn't a known property of 'ng2-smart-table'.
1. If 'ng2-smart-table' is an Angular component and it has 'settings' input, then verify that it is part of this module.
2. If 'ng2-smart-table' 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. ("
][settings]="settings">
"): ng:///DashboardModule/BillComponent.html@1:18
'ng2-smart-table' is not a known element:
1. If 'ng2-smart-table' is an Angular component, then verify that it is part of this module.
2. If 'ng2-smart-table' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
[ERROR ->]
at JitCompiler._compileComponents (webpack-internal:///./node_modules/@angular/compiler/esm5/compiler.js:34718)
at eval (webpack-internal:///./node_modules/@angular/compiler/esm5/compiler.js:34588)
at Object.then (webpack-internal:///./node_modules/@angular/compiler/esm5/compiler.js:695)
at JitCompiler._compileModuleAndComponents (webpack-internal:///./node_modules/@angular/compiler/esm5/compiler.js:34587)
What will be the problem?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.