{#if linkedTable.primaryDisplay == null} {label} Please choose a display column for the {linkedTable.name} table. {:else if schema.relationshipType === "one-to-many"} row._id} on:change={e => (linkedIds = e.detail ? [e.detail] : [])} {label} /> {:else} row._id} /> {/if}