diff --git a/packages/features/form-builder/utils.ts b/packages/features/form-builder/utils.ts index c64053c822..db90fcd2ea 100644 --- a/packages/features/form-builder/utils.ts +++ b/packages/features/form-builder/utils.ts @@ -18,7 +18,7 @@ export const preprocessNameFieldDataWithVariant = ( export const getFullName = (name: string | { firstName: string; lastName?: string }) => { if (!name) { - return name; + return ""; } let nameString = ""; if (typeof name === "string") {