From 5992952872c544050f9cbfce0ae8c7e79cf4618e Mon Sep 17 00:00:00 2001 From: Junyi Date: Wed, 19 Oct 2022 09:24:09 +0800 Subject: [PATCH] fix(plugin-workflow): temp disable validation of collection field in node (#928) --- packages/plugins/workflow/src/client/nodes/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/plugins/workflow/src/client/nodes/index.tsx b/packages/plugins/workflow/src/client/nodes/index.tsx index a82bfaece5..ef9093b060 100644 --- a/packages/plugins/workflow/src/client/nodes/index.tsx +++ b/packages/plugins/workflow/src/client/nodes/index.tsx @@ -60,7 +60,8 @@ function useUpdateAction() { message.error(t('Node in executed workflow cannot be modified')); return; } - await form.submit(); + // TODO: how to do validation separately for each field? especially disabled for dynamic fields? + // await form.submit(); await api.resource('flow_nodes', data.id).update({ filterByTk: data.id, values: {