mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-03 06:47:09 +00:00
feat(nc-gui): show extra fields in link record dropdown based on form field settings
This commit is contained in:
@@ -40,7 +40,7 @@ const readOnly = inject(ReadonlyInj, ref(false))
|
||||
|
||||
const { getPossibleAttachmentSrc } = useAttachment()
|
||||
|
||||
const { externalBaseUserRoles } = useLTARStoreOrThrow()!
|
||||
const { externalBaseUserRoles, showExtraFields } = useLTARStoreOrThrow()!
|
||||
|
||||
const { isUIAllowed } = useRoles()
|
||||
|
||||
@@ -123,7 +123,10 @@ const displayValue = computed(() => {
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div v-if="fields.length > 0" class="flex ml-[-0.25rem] sm:flex-row xs:(flex-col mt-2) gap-4 min-h-5">
|
||||
<div
|
||||
v-if="fields.length > 0 && showExtraFields"
|
||||
class="flex ml-[-0.25rem] sm:flex-row xs:(flex-col mt-2) gap-4 min-h-5"
|
||||
>
|
||||
<div v-for="field in fields" :key="field.id" class="sm:(w-1/3 max-w-1/3 overflow-hidden)">
|
||||
<div v-if="!isRowEmpty({ row }, field)" class="flex flex-col gap-[-1]">
|
||||
<NcTooltip class="z-10 flex" placement="bottomLeft" :arrow-point-at-center="false">
|
||||
|
||||
Reference in New Issue
Block a user