Browse Source

refactor(gui-v2): show search option in uidt

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3005/head
Pranav C 2 years ago
parent
commit
0c61a273a6
  1. 8
      packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue

8
packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue

@ -107,7 +107,13 @@ watch(
/> />
</a-form-item> </a-form-item>
<a-form-item :label="$t('labels.columnType')"> <a-form-item :label="$t('labels.columnType')">
<a-select v-model:value="formState.uidt" size="small" class="nc-column-name-input" @change="onUidtOrIdTypeChange"> <a-select
v-model:value="formState.uidt"
show-search
size="small"
class="nc-column-name-input"
@change="onUidtOrIdTypeChange"
>
<a-select-option v-for="opt of uiTypesOptions" :key="opt.name" :value="opt.name" v-bind="validateInfos.uidt"> <a-select-option v-for="opt of uiTypesOptions" :key="opt.name" :value="opt.name" v-bind="validateInfos.uidt">
<div class="flex gap-1 align-center text-xs"> <div class="flex gap-1 align-center text-xs">
<component :is="opt.icon" class="text-grey" /> <component :is="opt.icon" class="text-grey" />

Loading…
Cancel
Save