From a1dec34b8b1a3f4cd0d8f633697c8df372257059 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Thu, 2 Jun 2022 12:35:39 +0530 Subject: [PATCH] fix: assign validation for correct column(LTAR) re #2228 Signed-off-by: Pranav C --- .../nc-gui/components/project/spreadsheet/public/XcForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/components/project/spreadsheet/public/XcForm.vue b/packages/nc-gui/components/project/spreadsheet/public/XcForm.vue index 8f7772fdcc..e668effaf5 100644 --- a/packages/nc-gui/components/project/spreadsheet/public/XcForm.vue +++ b/packages/nc-gui/components/project/spreadsheet/public/XcForm.vue @@ -376,7 +376,7 @@ export default { const col = this.meta.columns.find(c => c.id === column.colOptions.fk_child_column_id) if ((col && col.rqd && !col.cdf) || column.required) { - obj.localState[col.title] = { required } + obj.localState[column.title] = { required } } } else if (isVirtualCol(column) && column.required) { obj.virtual[column.title] = {