Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix(nc-gui): return value as it is if it is ai text column from parseUserInput fn

Ramesh Manedd230d2ea3d6
diff --git a/packages/nocodb/src/db/field-handler/handlers/long-text/long-text.general.handler.ts b/packages/nocodb/src/db/field-handler/handlers/long-text/long-text.general.handler.ts
index 25a1853087..fd4ea1b502 100644
--- a/packages/nocodb/src/db/field-handler/handlers/long-text/long-text.general.handler.ts
+++ b/packages/nocodb/src/db/field-handler/handlers/long-text/long-text.general.handler.ts
@@ -57,6 +57,6 @@ export class LongTextGeneralHandler extends GenericFieldHandler {
}
// we return a string all the time to support any input (number, boolean, etc.) on text fields
- return { value };
+ return { value: isAIPromptCol(params.column) ? params.value : value };
}
}