Browse Source

fix(gui-v2): use <a-select/> with show-search

pull/2885/head
Wing-Kam Wong 2 years ago
parent
commit
4f036e4218
  1. 5
      packages/nc-gui-v2/components/template/Editor.vue

5
packages/nc-gui-v2/components/template/Editor.vue

@ -364,9 +364,10 @@ defineExpose({
</template>
<template v-else-if="column.key === 'uidt'">
<a-form-item v-bind="validateInfos[`tables.${tableIdx}.columns.${record.key}.${column.key}`]">
<a-auto-complete
<a-select
v-model:value="record.uidt"
class="w-52"
show-search
size="large"
:options="uiTypeOptions"
:filter-option="filterOption"
@ -476,4 +477,4 @@ defineExpose({
@apply !pb-0;
}
}
</style>
</style>
Loading…
Cancel
Save