diff --git a/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue b/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue index 93f78f0888..6e51e64081 100644 --- a/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue +++ b/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue @@ -400,7 +400,12 @@ const filterOption = (input: string, option: { value: UITypes }) => { - + { options.value = vModel.value.colOptions.options let indexCounter = 0 - options.value.map((el) => { + options.value = options.value.map((el) => { el.index = indexCounter++ return el })