Adding Richtext type in schema
This commit is contained in:
@@ -47,6 +47,9 @@ export class CrudFormlyJsonschemaOptions implements FormlyJsonschemaOptions {
|
||||
field.type = "hidden";
|
||||
} else if (schema.type == "array" && schema.format == "dictionary") {
|
||||
field.type = "dictionary";
|
||||
} else if (schema.type == "string" && schema.hasOwnProperty('props')
|
||||
&& schema.props.hasOwnProperty("richtext") && schema.props.richtext) {
|
||||
field.type = "richtext";
|
||||
}
|
||||
|
||||
if (schema.hasOwnProperty('props')) {
|
||||
|
||||
Reference in New Issue
Block a user