diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/tool-input/tool-input.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/tool-input/tool-input.tsx index 6a95cf1ef1..a064b74864 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/tool-input/tool-input.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/tool-input/tool-input.tsx @@ -2069,6 +2069,7 @@ export const ToolInput = memo(function ToolInput({ placeholder: uiComponent.placeholder, requiredScopes: uiComponent.requiredScopes, dependsOn: uiComponent.dependsOn, + canonicalParamId: uiComponent.canonicalParamId ?? param.id, }} onProjectSelect={onChange} disabled={disabled} diff --git a/apps/sim/hooks/selectors/resolution.ts b/apps/sim/hooks/selectors/resolution.ts index 54837537cf..d90df1c21a 100644 --- a/apps/sim/hooks/selectors/resolution.ts +++ b/apps/sim/hooks/selectors/resolution.ts @@ -203,10 +203,11 @@ function resolveProjectSelector( ): SelectorResolution { const serviceId = subBlock.serviceId const context = buildBaseContext(args) + const selectorId = subBlock.canonicalParamId ?? subBlock.id switch (serviceId) { case 'linear': { - const key: SelectorKey = subBlock.id === 'teamId' ? 'linear.teams' : 'linear.projects' + const key: SelectorKey = selectorId === 'teamId' ? 'linear.teams' : 'linear.projects' return { key, context, allowSearch: true } } case 'jira':