($touched.from = true)} bind:error={errors.from} bind:value={toRelationship.tableId} /> {#if isManyToOne && fromTable} ($touched.to = true)} bind:error={errors.to} bind:value={fromRelationship.tableId} /> {#if isManyToMany} ($touched.fromForeign = true)} bind:error={errors.fromForeign} bind:value={fromRelationship.throughTo} /> toTable?.primary.indexOf(field) === -1 )} on:change={() => ($touched.foreign = true)} bind:error={errors.foreign} bind:value={fromRelationship.fieldName} /> {/if}
Column names
Budibase manages SQL relationships as a new column in the table, please provide a name for these columns. ($touched.fromCol = true)} bind:error={errors.fromCol} label="From table column" bind:value={fromRelationship.name} /> ($touched.toCol = true)} bind:error={errors.toCol} label="To table column" bind:value={toRelationship.name} />
{#if originalFromName != null} {/if}