Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Showing angular ivy error in angular 16 #398

Open
SMV603 opened this issue May 23, 2023 · 7 comments
Open

Showing angular ivy error in angular 16 #398

SMV603 opened this issue May 23, 2023 · 7 comments

Comments

@SMV603
Copy link

SMV603 commented May 23, 2023

Angular version 16
ng-multiselect version: 0.3.9

@dtrouillet
Copy link

dtrouillet commented May 26, 2023

I add my error log for more informations :

Error: src/app/manage-batchs/manage-batchs.module.ts:14:14 - error NG6002: 'NgMultiSelectDropDownModule' does not appear to be an NgModule class.

 14     imports: [
                 ~
 15         SharedModule,
    ~~~~~~~~~~~~~~~~~~~~~
... 
 20         AngularResizeEventModule
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 21     ]
    ~~~~~

  node_modules/ng-multiselect-dropdown/ng-multiselect-dropdown.module.d.ts:2:22
    2 export declare class NgMultiSelectDropDownModule {
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    This likely means that the library (ng-multiselect-dropdown) which declares NgMultiSelectDropDownModule is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

In addition, we can't use ng-multiselect-dropdown with angular 16+ so I think this issue is critical.

@ZaidPathan
Copy link

ZaidPathan commented Jul 21, 2023

@NileshPatel17 Any plan on fixing this? For now I ended up using https://www.npmjs.com/package/ng-multiselect-dropdown3

@rodrigooler
Copy link

rodrigooler commented Jul 26, 2023

I started working with Angular not long ago and had the need to update my project to Angular version 16. I would like to try opening a pull request to solve this issue. Could you provide some guidance on how I can adjust the library? @NileshPatel17

@NileshPatel17
Copy link
Owner

@ZaidPathan @rodrigooler I am working on it.

@NileshPatel17
Copy link
Owner

NileshPatel17 commented Jul 28, 2023

@SMV603 @dtrouillet @rodrigooler @ZaidPathan just published version 1.0.0.. can you guys try..

here is working one with angular 16
https://stackblitz.com/edit/stackblitz-starters-stqwo4?file=src%2Fmain.ts

@dsuwirya-cloudwiz
Copy link

@NileshPatel17, can you please help to check why the fix for this issue #317 which was there on v0.3.9 no longer exists in v1.0.0. It's complaining about unknown property "tooltipField"

@dmdum
Copy link

dmdum commented Jan 17, 2024

Hi @NileshPatel17 we're getting a Can't bind error in Angular 14 when using the library.
More info here: #404

It's stated in other threads that v0.3.8 works with Angular 14 but that version doesn't seem to support standalone components yet. Would it be alright to ask you to check on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants