npm @ngx-formly/nativescript 7.1.0
v7.1.0

5 hours ago

Highlights

  • JSON Schema Conditional Logic (if/then/else)
    The JSON Schema service matches standard compliance by supporting if, then, and else keywords. This enables defining complex conditional logic directly within schemas for dynamic field configurations.

  • CSP-Safe Expression Evaluation
    Added support for CSP-safe expression evaluation, allowing usages in strict security environments without eval().

    To enable CSP-safe expression evaluation, use the withFormlyFieldExpression configuration helper:

    import { provideFormlyConfig, withFormlyFieldExpression } from '@ngx-formly/core';
    
    providers: [
      provideFormlyConfig(
        withFormlyFieldExpression()
      ),
    ],

Features

  • core: export FormlyFieldConfigPresetProvider via public_api (#4161) (3976e09)
  • core: extend formly json schema service to support if/then/else (#4140) (f534999)
  • core: support CSP-safe expression evaluation (#4141) (ef839c1)

Bug Fixes

  • core: prevent cloning of Promise objects (3238bfb), closes #4159

Special Thanks

Don't miss a new nativescript release

NewReleases is sending notifications on new releases.