Moving customization to json level

This commit is contained in:
2023-02-01 14:10:09 +01:00
parent 35c37749f3
commit 43ad5c3048
5 changed files with 22 additions and 60 deletions

View File

@@ -47,6 +47,10 @@ export class CrudFormlyJsonschemaOptions implements FormlyJsonschemaOptions {
field.type = "hidden";
}
if (schema.hasOwnProperty('props')) {
field.props = {...field.props, ...schema.props}
}
return field;
}
}