diff --git a/packages/nc-gui/components/smartsheet/column/SelectOptions.vue b/packages/nc-gui/components/smartsheet/column/SelectOptions.vue index e33a858136..80bae0b4bd 100644 --- a/packages/nc-gui/components/smartsheet/column/SelectOptions.vue +++ b/packages/nc-gui/components/smartsheet/column/SelectOptions.vue @@ -27,10 +27,16 @@ const { setAdditionalValidations, validateInfos, isMysql, isPg } = useColumnCrea const { optionsMagic: _optionsMagic } = useNocoEe() +const optionsWrapperDomRef = ref() + const options = ref<(Option & { status?: 'remove' })[]>([]) +const isAddingOption = ref(false) + +// TODO: Implement proper top and bottom virtual scrolling const OPTIONS_PAGE_COUNT = 20 -const loadedOptionCount = ref(OPTIONS_PAGE_COUNT) +const loadedOptionAnchor = ref(OPTIONS_PAGE_COUNT) +const isReverseLazyLoad = ref(false) const renderedOptions = ref<(Option & { status?: 'remove' })[]>([]) const savedDefaultOption = ref