From 356ed725e00dbb98edd69457c3673a2c49bfabfb Mon Sep 17 00:00:00 2001 From: Sidney Alcantara Date: Mon, 3 Aug 2020 14:18:39 +1000 Subject: [PATCH] add comment --- www/src/components/SideDrawer/Form/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/src/components/SideDrawer/Form/index.tsx b/www/src/components/SideDrawer/Form/index.tsx index 194e6bd6..f7bb23d6 100644 --- a/www/src/components/SideDrawer/Form/index.tsx +++ b/www/src/components/SideDrawer/Form/index.tsx @@ -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; }