Coupled paraterized dictionary
This commit is contained in:
@@ -45,6 +45,8 @@ export class CrudFormlyJsonschemaOptions implements FormlyJsonschemaOptions {
|
||||
field.type = "date";
|
||||
} else if (schema.hasOwnProperty('enum') && schema.enum.length == 1 && schema.enum[0] == schema.default ) {
|
||||
field.type = "hidden";
|
||||
} else if (schema.type == "array" && schema.format == "dictionary") {
|
||||
field.type = "dictionary";
|
||||
}
|
||||
|
||||
if (schema.hasOwnProperty('props')) {
|
||||
|
||||
Reference in New Issue
Block a user