diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/ConditionalNode/ConditionalNode.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/ConditionalNode/ConditionalNode.tsx index 3c8f27cb..5f0da9bc 100644 --- a/skyvern-frontend/src/routes/workflows/editor/nodes/ConditionalNode/ConditionalNode.tsx +++ b/skyvern-frontend/src/routes/workflows/editor/nodes/ConditionalNode/ConditionalNode.tsx @@ -14,7 +14,6 @@ import { import type { Node } from "@xyflow/react"; import { Button } from "@/components/ui/button"; -import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; import { DropdownMenu, @@ -39,6 +38,7 @@ import { } from "./types"; import type { BranchCondition } from "../../../types/workflowTypes"; import { HelpTooltip } from "@/components/HelpTooltip"; +import { WorkflowBlockInput } from "@/components/WorkflowBlockInput"; function ConditionalNodeComponent({ id, data }: NodeProps) { const nodes = useNodes(); @@ -686,15 +686,16 @@ function ConditionalNodeComponent({ id, data }: NodeProps) { /> )} - { - handleExpressionChange(event.target.value); + onChange={(value) => { + handleExpressionChange(value); }} placeholder="Enter condition to evaluate (Jinja or natural language)" />