jQWidgets Forums

jQuery UI Widgets Forums Angular Unexpected directive

This topic contains 1 reply, has 2 voices, and was last updated by  Ivo Zhulev 7 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Unexpected directive #95126

    jbudden
    Participant

    HI I am trying to segreate my Angular 4 SPA into logical modules.

    as a result I am using some of the jqxwidgets in multiple modules. I have followed all the required steps to ensure that the jqx components reside in a “shared” module and then expose the shared module appropriately, the spa compiles but I am getting the following uncaught error:

    Uncaught Error: Unexpected directive ‘jqxDropDownListComponent’ imported by the module ‘CommonControlsModule’. Please add a @NgModule annotation.

    thoughts?

    Unexpected directive #95141

    Ivo Zhulev
    Participant

    Hi jbudden,

    Can you please post me the code inside CommonControlsModule module?

    Regards,
    Ivo

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.