fixing 1:N UI order
This commit is contained in:
parent
b4996ccb4d
commit
595dc55f39
|
@ -43,6 +43,16 @@
|
||||||
</Label>
|
</Label>
|
||||||
{:else}
|
{:else}
|
||||||
{#if schema.relationshipType === 'one-to-many'}
|
{#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
|
<Select
|
||||||
thin
|
thin
|
||||||
secondary
|
secondary
|
||||||
|
@ -56,15 +66,5 @@
|
||||||
</option>
|
</option>
|
||||||
{/each}
|
{/each}
|
||||||
</Select>
|
</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}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
@ -3,6 +3,7 @@ FROM node:12-alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
ENV CLOUD=1
|
ENV CLOUD=1
|
||||||
|
ENV PORT=4001
|
||||||
ENV COUCH_DB_URL=https://couchdb.budi.live:5984
|
ENV COUCH_DB_URL=https://couchdb.budi.live:5984
|
||||||
ENV BUDIBASE_ENVIRONMENT=PRODUCTION
|
ENV BUDIBASE_ENVIRONMENT=PRODUCTION
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue