Can't bind to 'ndcDynamicInputss' since it isn't a known property of 'ndc-dynamic'.
See original GitHub issueHello,
I’m getting the errors :
Can't bind to 'ndcDynamicInputs' since it isn't a known property of 'ndc-dynamic'.
and
Can't bind to 'ndcDynamicOutputs' since it isn't a known property of 'ndc-dynamic'.
when I add the [ndcDynamicInputs] and [ndcDynamicOutputs] inputs binding to <ndc-dynamic></ndc-dynamic>.
My template : <gridster-item [item]="widget.disposition" *ngFor="let widget of widgets"> <ndc-dynamic [ndcDynamicComponent]="widget.component" [ndcDynamicInputs]="widget.inputs" [ndcDynamicOutputs]="widget.outputs"> </ndc-dynamic> </gridster-item>
The module imports :
imports: [ CommonModule, .... , DynamicComponentModule, DynamicIoModule, DynamicModule ],
Angular 9.1.6 ng-dynamic-component 6.1.0
I also tried with <ng-template>
and <ng-container>
methods, same result …
What’s wrong ?
Thanks a lot
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (8 by maintainers)
Top GitHub Comments
Hi,
I’m currently facing the same issue. Im using Angular 9 with ng-dynamic-component 6.1.0.
<ndc-dynamic [ndcDynamicComponent]="currentComponent" [ndcDynamicInputs]="inputs" [ndcDynamicOutputs]="outputs"></ndc-dynamic>
I can’t compile it as it shows “Can’t bind to ‘ndcDynamicOutputs’ since it isn’t a known property of ‘ndc-dynamic’.”
This is what I see when i go into the component
There is no ndcDynamicInputs and ndcDynamicOutputs.
I’m closing this issue as it’s outdated. If you want to reopen the discussion please feel free to open a new issue.