IgniteUI / igniteui-angular-wrappers

Ignite UI Angular component extensions by Infragistics
http://igniteui.github.io/igniteui-angular-wrappers
MIT License
148 stars 30 forks source link

Cannot instantiate the igScheduler using the igniteui-angular-wrappers #256

Closed hanastasov closed 6 years ago

hanastasov commented 6 years ago

Description

Add a simple igScheduler on the page using the Ignite Ui Angular wrappers:

<ig-scheduler
    #scheduler1
    widgetId = "scheduler1"
    height = "650px"
    width = "100%"
    [options] = "options">
</ig-scheduler>

Result

Trying to run it results in an error, check the browser dev tools console:

"TypeError: Cannot read property 'prototype' of undefined
    at IgSchedulerComponent.IgControlBase (VM4378 igcontrolbase.ts!transpiled:74)"
dkamburov commented 6 years ago

@hanastasov Can you make sure you have igScheduler refences included(infragistics.scheduler-bundled.js)? I made a plunker and it seems to be working as expected.

hanastasov commented 6 years ago

Of course this missing reference is the reason, a rookie mistake, sorry ! L:0 Closing the issue.