add comment

This commit is contained in:
Sidney Alcantara
2020-08-03 14:18:39 +10:00
parent 1a9f1989e6
commit 356ed725e0

View File

@@ -184,6 +184,8 @@ export default function Form({ fields, values }: IFormProps) {
const field: Field = _isFunction(_field) ? _field(values) : _field;
const { type, ...fieldProps } = field;
let _type = type;
// Derivative field support
if (field.config && field.config.renderFieldType) {
_type = field.config.renderFieldType;
}