Browse Source

fix: assign validation for correct column(LTAR)

re #2228

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2237/head
Pranav C 3 years ago
parent
commit
a1dec34b8b
  1. 2
      packages/nc-gui/components/project/spreadsheet/public/XcForm.vue

2
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] = {

Loading…
Cancel
Save