NileshPatel17 / ng-multiselect-dropdown

Multiple Select Dropdown Component
https://nileshpatel17.github.io/ng-multiselect-dropdown/
327 stars 287 forks source link

Showing angular ivy error in angular 16 #398

Open SMV603 opened 1 year ago

SMV603 commented 1 year ago

Angular version 16 ng-multiselect version: 0.3.9

dtrouillet commented 1 year ago

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 commented 1 year ago

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

rodrigooler commented 1 year ago

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 commented 1 year ago

@ZaidPathan @rodrigooler I am working on it.

NileshPatel17 commented 1 year ago

@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 commented 10 months ago

@NileshPatel17, can you please help to check why the fix for this issue https://github.com/NileshPatel17/ng-multiselect-dropdown/issues/317 which was there on v0.3.9 no longer exists in v1.0.0. It's complaining about unknown property "tooltipField"

dmdum commented 9 months ago

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?