Browse Source

fix : added tooltip for linksto options fields

pull/7114/head
musharaf 11 months ago
parent
commit
19e6954321
  1. 10
      packages/nc-gui/components/smartsheet/column/LinkedToAnotherRecordOptions.vue

10
packages/nc-gui/components/smartsheet/column/LinkedToAnotherRecordOptions.vue

@ -74,16 +74,18 @@ const isLinks = computed(() => vModel.value.uidt === UITypes.Links)
v-model:value="vModel.childId" v-model:value="vModel.childId"
show-search show-search
:filter-option="filterOption" :filter-option="filterOption"
dropdown-class-name="nc-dropdown-ltar-child-table" dropdown-class-name="nc-dropdown-ltar-child-table "
@change="onDataTypeChange" @change="onDataTypeChange"
> >
<a-select-option v-for="table of refTables" :key="table.title" :value="table.id"> <a-select-option v-for="table of refTables" :key="table.title" :value="table.id">
<div class="flex items-center gap-2"> <div class="flex w-full items-center gap-2">
<div class="min-w-5 flex items-center justify-center"> <div class="min-w-5 flex items-center justify-center">
<GeneralTableIcon :meta="table" class="text-gray-500" /> <GeneralTableIcon :meta="table" class="text-gray-500" />
</div> </div>
<NcTooltip class="flex-1 truncate">
<span class="overflow-ellipsis min-w-0 shrink-1">{{ table.title }}</span> <template #title>{{ table.title }}</template>
<span>{{ table.title }}</span>
</NcTooltip>
</div> </div>
</a-select-option> </a-select-option>
</a-select> </a-select>

Loading…
Cancel
Save