question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't bind to 'ndcDynamicInputss' since it isn't a known property of 'ndc-dynamic'.

See original GitHub issue

Hello,

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:closed
  • Created 3 years ago
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
leeus99commented, Aug 14, 2020

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

export declare class DynamicComponent implements OnChanges, DynamicComponentInjector {
    private vcr;
    private cfr;
    ndcDynamicComponent: Type<any>;
    ndcDynamicInjector: Injector;
    ndcDynamicProviders: StaticProvider[];
    ndcDynamicContent: any[][];
    ndcDynamicCreated: EventEmitter<ComponentRef<any>>;
    componentRef: ComponentRef<any> | null;
    constructor(vcr: ViewContainerRef, cfr: ComponentFactoryResolver);
    ngOnChanges(changes: SimpleChanges): void;
    createDynamicComponent(): void;
    private _resolveInjector;
}

There is no ndcDynamicInputs and ndcDynamicOutputs.

0reactions
gundcommented, Aug 28, 2022

I’m closing this issue as it’s outdated. If you want to reopen the discussion please feel free to open a new issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't bind to 'ndcDynamicComponent' since it isn't a known ...
Hi, I'm getting below mentioned error while using ndc-dynamic. I tried with , which appears to be working fine.
Read more >
Can't bind to 'ndcDynamicInputss' since it isn't a known property of ...
I'm currently facing the same issue. Im using Angular 9 with ng-dynamic-component 6.1.0. <ndc-dynamic [ndcDynamicComponent]="currentComponent" [ndcDynamicInputs]= ...
Read more >
ng-dynamic-component - npm
Dynamic components with full life-cycle support for inputs and outputs. ... Can't bind to 'ndcDynamicInputs' since it isn't a known property ...
Read more >
Can't bind to 'ngIf' since it isn't a known property of 'div'
Can't bind to 'ngIf' since it isn't a known property of 'div'. The element is <div [ngIf]="isAuth" id="sidebar">. And the component is:
Read more >
Fix: Can't bind to form control since it isn't a known ... - YouTube
Fix: Can't bind to form control since it isn't a known property of input ... I am going to fix this issue, this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found