Skip to main content

UPGRADE FROM 6.0 to 7.0

  • Formly V7 now requires Angular Version >= 18

@ngx-formly/core

1. Support of standalone components:

This release add support of standalone components, for usage of standalone components please check the following example: https://stackblitz.com/edit/angular-wfy9zodl or our doc examples https://formly.dev/

  • Note: No change is required for NgModule API (FormlyModule, FormlyBootstrapModule, ...) and it'll be still supported alongside with Standalone API.
NgModule ApiStandalone Alternative Api
FormlyModuleFormlyForm
FormlyModule.forRootprovideFormlyCore
FormlyModule.forChildprovideFormlyConfig
FormlyBootstrapModulewithFormlyBootstrap
FormlyMaterialModulewithFormlyMaterial
Formly{...UI}ModulewithFormly{...UI}

2. Remove deprecated FormlyFormOptions methods:

Deprecated MethodReplaced with
_markForCheckdetectChanges
_buildFormbuild
_checkFieldcheckExpressions