You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/condition-input/condition-input.tsx
+98-17Lines changed: 98 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -830,25 +830,106 @@ export function ConditionInput({
830
830
</Tooltip.Root>
831
831
</div>
832
832
</div>
833
-
{/* Router mode: show description textarea styled like code editor */}
833
+
{/* Router mode: show description textarea with tag/env var support */}
834
834
{isRouterMode&&(
835
-
<Textarea
836
-
value={block.value}
837
-
onChange={(e)=>{
838
-
if(!isPreview&&!disabled){
839
-
shouldPersistRef.current=true
840
-
setConditionalBlocks((blocks)=>
841
-
blocks.map((b)=>
842
-
b.id===block.id ? { ...b,value: e.target.value} : b
0 commit comments