{#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] : [] dispatch("change", linkedIds) }} label={useLabel ? label : null} sort /> {:else} row._id} sort on:change /> {/if}