|
|
@ -19,7 +19,7 @@ import { |
|
|
|
watch, |
|
|
|
watch, |
|
|
|
} from '#imports' |
|
|
|
} from '#imports' |
|
|
|
|
|
|
|
|
|
|
|
const props = defineProps<{ modelValue: boolean }>() |
|
|
|
const props = defineProps<{ modelValue: boolean; column: any }>() |
|
|
|
|
|
|
|
|
|
|
|
const emit = defineEmits(['update:modelValue', 'addNewRecord']) |
|
|
|
const emit = defineEmits(['update:modelValue', 'addNewRecord']) |
|
|
|
|
|
|
|
|
|
|
@ -229,7 +229,7 @@ watch(vModel, (nextVal) => { |
|
|
|
:class="{ 'nc-selected-row': selectedRowIndex === i }" |
|
|
|
:class="{ 'nc-selected-row': selectedRowIndex === i }" |
|
|
|
@click="linkRow(refRow)" |
|
|
|
@click="linkRow(refRow)" |
|
|
|
> |
|
|
|
> |
|
|
|
{{ refRow[relatedTableDisplayValueProp] }} |
|
|
|
<VirtualCellComponentsItemChip :value="refRow[relatedTableDisplayValueProp]" :column="props.column" /> |
|
|
|
<span class="hidden group-hover:(inline) text-gray-400 text-[11px] ml-1"> |
|
|
|
<span class="hidden group-hover:(inline) text-gray-400 text-[11px] ml-1"> |
|
|
|
({{ $t('labels.primaryKey') }} : {{ getRelatedTableRowId(refRow) }}) |
|
|
|
({{ $t('labels.primaryKey') }} : {{ getRelatedTableRowId(refRow) }}) |
|
|
|
</span> |
|
|
|
</span> |
|
|
|