Browse Source

chore(gui-v2): add comment about function use case

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3310/head
Pranav C 2 years ago
parent
commit
24ff3ff01e
  1. 1
      packages/nc-gui-v2/components/smartsheet/Form.vue

1
packages/nc-gui-v2/components/smartsheet/Form.vue

@ -149,6 +149,7 @@ function isDbRequired(column: Record<string, any>) {
return isRequired
}
/** Block user from drag n drop required column to hidden fields */
function onMoveCallback(event: any) {
if (event.from !== event.to && shouldSkipColumn(event.draggedContext.element)) {
return false

Loading…
Cancel
Save