ionic-selectable icon indicating copy to clipboard operation
ionic-selectable copied to clipboard

Module '"@ionic/core"' has no exported member 'HeaderFn'. for Ionic Selectable v5(alpha) after upgrade to Ionic 7 / Angular 16

Open pjc2007 opened this issue 1 year ago • 4 comments

After upgrading to Ionic 7 / Angular 16, I could not use the release version of this Ionic Selectable as Angular 16 now needs all libs to be Ivy compatible,

I then tried v5(alpha) but I now get the error

Module '"@ionic/core"' has no exported member 'HeaderFn'.

Would be great if we could get this working, as want to update to the latest Ionic, Angular, and really want to continue using this library, as is is a great component.

pjc2007 avatar Jun 19 '23 06:06 pjc2007

@pjc2007 Can you please try v5.0.0?

iamrsojitra avatar Jul 19 '23 07:07 iamrsojitra

I am facing the same problem @pjc2007 are you able to fix it? Hello @vc-rakesh are using 5.0.0 and is it working?

imeeran avatar Feb 07 '24 14:02 imeeran

I am facing the same problem @pjc2007 are you able to fix it? Hello @vc-rakesh are using 5.0.0 and is it working?

Unfortunately never got a fix in time so had to remove the component , so no didn't try b5

pjc2007 avatar Feb 07 '24 22:02 pjc2007

I have faced the same in ionic 7 and I have tried 4.9.0 and made the following changes in app.module.ts and it worked. You can find the reference here : https://stackoverflow.com/a/77955756/7320814

@NgModule({
  imports: [
    IonicSelectableModule // remove from here
  ],
  providers: [
    IonicSelectableModule // paste here
  ]
})

imeeran avatar Feb 08 '24 05:02 imeeran