diff --git a/packages/nc-gui/composables/useExpandedFormStore.ts b/packages/nc-gui/composables/useExpandedFormStore.ts index e817e955d2..e4887c8365 100644 --- a/packages/nc-gui/composables/useExpandedFormStore.ts +++ b/packages/nc-gui/composables/useExpandedFormStore.ts @@ -193,7 +193,7 @@ const [useProvideExpandedFormStore, useExpandedFormStore] = useInjectionState((m await $api.utils.commentRow({ fk_model_id: meta.value?.id as string, row_id: rowId, - comment: `${comment.value}`, + comment: `${comment.value}`.replace(/(
)+$/g, ''), }) reloadTrigger?.trigger()