Devextreme-angular: Can't bind to 'shrink' since it isn't a known property of 'dxi-item'.

Created on 25 Jan 2018  ·  7Comments  ·  Source: DevExpress/devextreme-angular

To help us process the issue more efficiently, please provide the following information:

  • Specify the version of the devextreme-angular and devextreme packages you are using.
devexteme version: 17.2.4
devextreme-angular version: 17.2.4

  • Specify the type of the issue (check one with "x"):
    [x ] bug Report
    [ ] feature request
    [ ] support inquiry

compiler.js:485 Uncaught Error: Template parse errors:
Can't bind to 'shrink' since it isn't a known property of 'dxi-item'.

  1. If 'dxi-item' is an Angular component and it has 'shrink' input, then verify that it is part of this module.
  2. If 'dxi-item' 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. ("
    id="dx-box-item1"
    [ratio]="0"
    [ERROR ->][shrink]="0"
    [baseSize]="'auto'"
    >
    ")
question

Most helpful comment

@alert83 If it works in Dmitry's example, but not in your code, most likely there is something wrong with your code...

All 7 comments

This should work. Would you please modify the plunk to reproduce the issue?

Have you imported the DxBoxModule module?

of course. look above:
...
[ERROR ->][shrink]="0".
...
error appeares only in front of shrink property.

@alert83 If it works in Dmitry's example, but not in your code, most likely there is something wrong with your code...

i'm having that exact same issue. I'm following the guidelines exactly.
_"devextreme": "^17.2.5",
"devextreme-angular": "^17.2.5",_
Error: Template parse errors:
Can't bind to 'dataSource' since it isn't a known property of 'dx-scheduler'.

  1. If 'dx-scheduler' is an Angular component and it has 'dataSource' input, then verify that it is part of this module.
  2. If 'dx-scheduler' 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.

To reproduce problem please add this component to an already existing ionic project not a new project.

@richie50 Have you imported "DxSchedulerModule" to your Angular module?

It's work after deps have been updated

сб, 17 февр. 2018 г., 14:48 Tomas Rimkus notifications@github.com:

@richie50 https://github.com/richie50 Have you imported
"DxSchedulerModule" to your Angular module?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DevExpress/devextreme-angular/issues/676#issuecomment-366427219,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABuZByuLegcedJB9icy-1jOY65Tbgirkks5tVpJhgaJpZM4RtHG7
.

Was this page helpful?
0 / 5 - 0 ratings