|
|
|
@ -26,14 +26,14 @@ await loadRelatedTableMeta()
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
|
<div class="flex align-center gap-1 w-full min-full chips-wrapper"> |
|
|
|
|
<div class="flex align-center items-center gap-1 w-full chips-wrapper"> |
|
|
|
|
<div class="chips flex align-center img-container flex-grow hm-items flex-nowrap min-w-0 overflow-hidden"> |
|
|
|
|
<template v-if="cellValue"> |
|
|
|
|
<ItemChip v-for="(ch, i) in cellValue" :key="i" :value="ch[relatedTablePrimaryValueProp]" @unlink="unlink(ch)" /> |
|
|
|
|
<span v-if="cellValue?.length === 10" class="caption pointer ml-1 grey--text" @click="childListDlg = true">more... </span> |
|
|
|
|
</template> |
|
|
|
|
</div> |
|
|
|
|
<div class="flex-grow flex justify-end gap-1"> |
|
|
|
|
<div class="flex-grow flex justify-end gap-1 min-h-[30px] align-center"> |
|
|
|
|
<MdiExpandIcon |
|
|
|
|
class="select-none transform text-sm nc-action-icon text-gray-500/50 hover:text-gray-500" |
|
|
|
|
@click="childListDlg = true" |
|
|
|
|