1
0
Fork 0
mirror of synced 2024-06-29 19:41:03 +12:00

Merge pull request #1191 from Budibase/release-0.8-fixes

fixing 1:N UI order
This commit is contained in:
Martin McKeaveney 2021-02-25 13:44:18 +00:00 committed by GitHub
commit 0f8419e7d4

View file

@ -43,6 +43,16 @@
</Label>
{:else}
{#if schema.relationshipType === 'one-to-many'}
<Multiselect
secondary
bind:value={linkedIds}
{label}
placeholder="Choose some options">
{#each rows as row}
<option value={row._id}>{getPrettyName(row)}</option>
{/each}
</Multiselect>
{:else}
<Select
thin
secondary
@ -56,15 +66,5 @@
</option>
{/each}
</Select>
{:else}
<Multiselect
secondary
bind:value={linkedIds}
{label}
placeholder="Choose some options">
{#each rows as row}
<option value={row._id}>{getPrettyName(row)}</option>
{/each}
</Multiselect>
{/if}
{/if}