From ebdc9ffa20e1d43dbda25821fce364683f4c5d26 Mon Sep 17 00:00:00 2001 From: NathanViaud <nathan.viaud@inria.fr> Date: Thu, 8 Jun 2023 10:18:28 +0200 Subject: [PATCH] fix update form action --- src/shared/services/graph/form.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/services/graph/form.service.ts b/src/shared/services/graph/form.service.ts index b49538ae..0541482b 100644 --- a/src/shared/services/graph/form.service.ts +++ b/src/shared/services/graph/form.service.ts @@ -4,7 +4,7 @@ import { useVueFlow } from '@vue-flow/core'; const editorStore = useEditorStore(); const { findNode } = useVueFlow({ id: 'main' }); -export function updateElementValue(elementId: string, nodeId: string, valueId: string, value: string): void { +export function updateElementValue(elementId: string, nodeId: string, valueId: string, value: string | boolean): void { const { id, formType, formValues } = getElementInfo(elementId, nodeId); verifyAndOpenFormPanel(id, formType, formValues, nodeId); -- GitLab