|
|
@ -31,7 +31,6 @@ await loadRelatedTableMeta() |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="flex w-full chips-wrapper align-center" :class="{ active }"> |
|
|
|
<div class="flex w-full chips-wrapper align-center" :class="{ active }"> |
|
|
|
<template v-if="!isForm"> |
|
|
|
|
|
|
|
<div class="chips d-flex align-center flex-grow"> |
|
|
|
<div class="chips d-flex align-center flex-grow"> |
|
|
|
<template v-if="cellValue"> |
|
|
|
<template v-if="cellValue"> |
|
|
|
<ItemChip :item="cellValue" :value="cellValue[relatedTablePrimaryValueProp]" @unlink="unlink(cellValue)" /> |
|
|
|
<ItemChip :item="cellValue" :value="cellValue[relatedTablePrimaryValueProp]" @unlink="unlink(cellValue)" /> |
|
|
@ -43,11 +42,7 @@ await loadRelatedTableMeta() |
|
|
|
@click="listItemsDlg = true" |
|
|
|
@click="listItemsDlg = true" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<ListItems v-model="listItemsDlg" @attach-record=" (listItemsDlg = true)"/> |
|
|
|
<ListItems v-model="listItemsDlg" /> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
<ListChildItems /> |
|
|
|
|
|
|
|
<ListItems v-model="listItemsDlg" @attach-record="listItemsDlg = true"/> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|