Features
- bootstrap: added aria tags for input validation (#3737) (#3740) (c4f7074)
- json-schema: add enum validator (087f35c), closes #3723 #3714
- kendo: add primitive option in props (#3620) (a0b4d7d)
- ng-zorro-antd: description support for ng-zorro-antd (#3782) (a4b2d45), closes #3639
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 {}