npm @ngx-formly/core 6.2.0
v6.2.0

latest releases: 6.3.10, 6.3.9, 6.3.8...
13 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

Don't miss a new core release

NewReleases is sending notifications on new releases.