From bf999323fd2f3b8b77e2b85df7fbc6be0423869c Mon Sep 17 00:00:00 2001 From: serhiizghama Date: Fri, 22 May 2026 03:45:11 +0700 Subject: [PATCH] fix(sub-block): render tooltip field as Info icon in label --- .../editor/components/sub-block/sub-block.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/sub-block.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/sub-block.tsx index 0ffba587d18..26538a36d16 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/sub-block.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/sub-block.tsx @@ -7,6 +7,7 @@ import { Check, Clipboard, ExternalLink, + Info, } from 'lucide-react' import { useParams } from 'next/navigation' import { Button, Input, Label, Tooltip } from '@/components/emcn/components' @@ -271,6 +272,18 @@ const renderLabel = ( config.title )} {required && *} + {config.tooltip && ( + + + + + + + +

{config.tooltip}

+
+
+ )} {labelSuffix} {config.type === 'code' && config.language === 'json' &&