akveo / akveo/ng2-smart-table

Template parse errors: Can't bind to 'settings' since it isn't a known property of 'ng2-smart-table'.

Open
#707 18 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
867
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.