diff --git a/packages/nocodb-sdk/src/lib/formulaHelpers.ts b/packages/nocodb-sdk/src/lib/formulaHelpers.ts index 237e1ac4af..94f22b79b5 100644 --- a/packages/nocodb-sdk/src/lib/formulaHelpers.ts +++ b/packages/nocodb-sdk/src/lib/formulaHelpers.ts @@ -19,7 +19,10 @@ export const jsepCurlyHook = { context.index += 1; env.node = { type: jsep.IDENTIFIER, - name: nodes.map((node) => node.name).join(' '), + // column name with space would break it down to jsep.IDENTIFIER + jsep.LITERAL + // either take node.name for jsep.IDENTIFIER + // or take node.value for jsep.LITERAL + name: nodes.map((node) => node.name || node.value).join(' '), }; return env.node; } else {