Primeng: Can't bind to 'value' since it isn't a known property of 'p-dataTable'.

Created on 10 Nov 2016  路  5Comments  路  Source: primefaces/primeng

Hi Yesterday I installed angular seed

and I followed https://github.com/mgechev/angular-seed/wiki/Add-PrimeNG

and http://www.primefaces.org/primeng/#/datatable

but I am getting
Unhandled Promise rejection: Template parse errors:
Can't bind to 'value' since it isn't a known property of 'p-dataTable'.

  1. If 'p-dataTable' is an Angular component and it has 'value' input, then verify that it is part of this module.
  2. If 'p-dataTable' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schemas' of this component to suppress this message.

Could someone help me to integrate angular seed with primefaces for datatabe?

Most helpful comment

you are right the solution was:

inside home.module.ts

import { DataTableModule } from 'primeng/primeng';

@NgModule({
imports: [CommonModule, SharedModule, DataTableModule],

Thank you @cagataycivici

All 5 comments

You haven't seem to imported DataTableModule.

you are right the solution was:

inside home.module.ts

import { DataTableModule } from 'primeng/primeng';

@NgModule({
imports: [CommonModule, SharedModule, DataTableModule],

Thank you @cagataycivici

I'm facing the same problem for OrderListModule.
Can't bind to 'value' since it isn't a known property of 'p-orderList'.
Imported
import {OrderListModule} from 'primeng/components/orderlist/orderlist';
in app.component.ts

@sga-lalitesh sorry for delay

could you do please a plnkr for your case?
http://plnkr.co/edit/Qi2Nw2imLpDUF8NJinYw?p=preview

Can't bind to 'value' since it isn't a known property of 'p-growl' .... i have got this error while compiling could anyone clarify this please............

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mitosandov picture mitosandov  路  3Comments

garethlewis picture garethlewis  路  3Comments

lilling picture lilling  路  3Comments

just-paja picture just-paja  路  3Comments

markgoho picture markgoho  路  3Comments