Browse Source

Merge pull request #7351 from nocodb/nc-feat/expanded-select-option-area

feat: expand select option area in details fields tab (Sync EE to OSS )
pull/7370/head
Raju Udava 11 months ago committed by GitHub
parent
commit
8ce8b6991d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      packages/nc-gui/components/smartsheet/column/EditOrAdd.vue
  2. 3
      packages/nc-gui/components/smartsheet/column/SelectOptions.vue

1
packages/nc-gui/components/smartsheet/column/EditOrAdd.vue

@ -344,6 +344,7 @@ if (props.fromTableExplorer) {
<SmartsheetColumnSelectOptions
v-if="formState.uidt === UITypes.SingleSelect || formState.uidt === UITypes.MultiSelect"
v-model:value="formState"
:from-table-explorer="props.fromTableExplorer || false"
/>
</template>
</div>

3
packages/nc-gui/components/smartsheet/column/SelectOptions.vue

@ -15,6 +15,7 @@ interface Option {
const props = defineProps<{
value: any
fromTableExplorer?: boolean
}>()
const emit = defineEmits(['update:value'])
@ -308,7 +309,7 @@ const loadListData = async ($state: any) => {
ref="optionsWrapperDomRef"
class="nc-col-option-select-option overflow-x-auto scrollbar-thin-dull"
:style="{
maxHeight: 'calc(min(30vh, 250px))',
maxHeight: props.fromTableExplorer ? 'calc(100vh - (var(--topbar-height) * 3.6) - 320px)' : 'calc(min(30vh, 250px))',
}"
>
<InfiniteLoading v-if="isReverseLazyLoad" v-bind="$attrs" @infinite="loadListDataReverse">

Loading…
Cancel
Save