Ngx Formly Versions Save

📝 JSON powered / Dynamic forms for Angular

v6.3.0

2 months ago

Features

Bug Fixes

  • core: handle clone of Uint8Array instance (0566430), closes #3850
  • json-schema: handled nested key for uniqueItems (0f67d89), closes #3842
  • json-schema: pass a valid model value for oneOf in array type (d597c00), closes #3805
  • material: ensure textarea is working with Angular v17 hydration (e61880e), closes #3824
  • primeng: add missing appendTo property to select type (c07e6d6), closes #3809

v6.2.2

5 months ago

Bug Fixes

  • bootstrap: update multicheckbox aria attr in input tag (#3793) (c78462a)
  • core: fix array remove for array of oneOf (88449e0), closes #3794

Performance Improvements

  • core: optimize execution time of field expressions (6acf797), closes #3799

Special Thanks

  • @aitboudad, @dev-kanishk, @rpw1

v6.2.1

6 months ago

Bug Fixes

  • core: disable detect local fields inside wrappers (22b21d8), closes #3572

Performance Improvements

  • core: disable update TreeValidity during the build step (3f65fb4), closes #3791
  • core: remove detectChanges call in asyn validator (b0b9a09), closes #3791
  • core: set the asyncValidators when async validators are present (#3792) (d825cff), closes #3791

Special Thanks

  • @dev-kanishk, @aitboudad

v6.2.0

6 months ago

Features

Bug Fixes

  • core: add warning when passing invalid type for required prop (0bf7676), closes #3756
  • core: update onInit hook type definition (0b7c553), closes #3722
  • json-schema: allow scientific notation in number type (4d67c3e), closes #3757
  • json-schema: fix uniqueItems validator for object (c8b59b3), closes #3764
  • json-schema: support dependencies for oneOf with mixed type (a9d8676), closes #3749
  • json-schema: support oneOf with array mixed type (bcf930b), closes #3769 #3785
  • material: use correct CSS class for form field required marker (#3763) (8ac1683)

Note: If you use Formly Json-schema, please ensure to add enum to validationMessages config:

@NgModule({
  imports: [
    FormlyModule.forRoot({
      validationMessages: [
+       { name: 'enum', message: `must be equal to one of the allowed values` },
      ],
    }),
  ],
})
export class AppModule {}

Special Thanks

@alvarolb, @json-derulo, @rpw1, @rammba, @aitboudad

v6.1.8

10 months ago

Bug Fixes

  • core: allow createComponent type in testing (cf22bed), closes #3700
  • core: detect changes when field is focused (9861d6f)
  • core: set a default value to FieldType::field property (817431a), closes #3700

v6.1.7

10 months ago

Bug Fixes

v6.1.6

11 months ago

Bug Fixes

  • core: detect formState changes on all fields (db584f8), closes #3680

v6.1.5

11 months ago

Bug Fixes

  • core: delegate FormArray creation to FieldArrayType only (7d02313), closes #3576
  • core: supports nested model assign in expressions (74b3b69), closes #3667 #3664
  • schematics: add module import to root module (ea959be), closes #3638

v6.1.4

11 months ago

Bug Fixes

  • core: ensure disabled prop is working for field without key (#3665) (1dd5c6e), closes #3657
  • core: ensure observe prop is defined before calling defineProperty (#3666) (d8cafc8), closes #3631
  • core: select options pipe has wrong return types (0ff64bc)
  • material: add panelClass to mat-select props (#3634) (9b28fc0)

v6.1.3

1 year ago

Bug Fixes

  • material: add DisplayWith to Slider default value (6ec558c)