Browse Source

fix: static edit mode on bulk update form

Signed-off-by: mertmit <mertmit99@gmail.com>
test/pw-duplicate-check
mertmit 1 year ago
parent
commit
ce52c26779
  1. 7
      packages/nc-gui/components/dlg/BulkUpdate.vue

7
packages/nc-gui/components/dlg/BulkUpdate.vue

@ -37,8 +37,6 @@ const formState: Record<string, any> = reactive({})
const updateMode = ref(BulkUpdateMode.ALL) const updateMode = ref(BulkUpdateMode.ALL)
const editEnabled = ref<boolean[]>([])
const moved = ref(false) const moved = ref(false)
const drag = ref(false) const drag = ref(false)
@ -312,11 +310,8 @@ onMounted(() => {
:class="`nc-form-input-${element.title.replaceAll(' ', '')}`" :class="`nc-form-input-${element.title.replaceAll(' ', '')}`"
:data-testid="`nc-form-input-${element.title.replaceAll(' ', '')}`" :data-testid="`nc-form-input-${element.title.replaceAll(' ', '')}`"
:column="element" :column="element"
:edit-enabled="editEnabled[index]" :edit-enabled="true"
:active="true" :active="true"
@click="editEnabled[index] = true"
@cancel="editEnabled[index] = false"
@update:edit-enabled="editEnabled[index] = $event"
/> />
</LazySmartsheetDivDataCell> </LazySmartsheetDivDataCell>
</a-form-item> </a-form-item>

Loading…
Cancel
Save