Issue with Ngx-Formly use to Ionic 8

Hi everyone,


I recently started a new Ionic Angular project using Ionic 8 and integrated the latest version of Ngx-Formly. However, I’m facing compilation errors related to Formly’s Radio Component, which depends on RadioValueAccessor. It seems this has been removed in Ionic 8.

I’m already using the native ion-radio component and have extended it in the FieldType class. Also, I’m not using Formly-Ionic components anywhere, yet I still encounter this error.

Here are the dependencies in my project:

@ngx-formly/core”: “^6.3.12”,
@ngx-formly/ionic”: “^6.3.12”,
@ngx-formly/schematics”: “^6.3.12”,
@ionic/angular”: “^8.3.1”,
@angular/cli”: “^18.0.0”

@ngx-formly/ionic v6 doesn’t support Ionic 8.

v7-alpha does - see Ionic 8 · Issue #4045 · ngx-formly/ngx-formly · GitHub and ngx-formly/src/ui/ionic/package.json at 3429a20ee1d03d74cd5519a0b66358538eeba4a4 · ngx-formly/ngx-formly · GitHub

I gave you that info :sweat_smile:

From what I see, ngx-formly is not maintained by Ionic so you would have to reach out to the package maintainers for any further specific questions.

1 Like