1
0
Fork 0
mirror of synced 2024-09-30 00:57:16 +13:00

adds thin prop to select component when adding new row

This commit is contained in:
Keviin Åberg Kultalahti 2021-02-19 14:34:04 +01:00
parent 8cc35e3fc2
commit fa1a2c58c5

View file

@ -42,7 +42,7 @@
</Label>
{:else}
{#if schema.relationshipType === 'one-to-many'}
<Select secondary on:change={e => linkedRows = [e.target.value]} name={label} {label}>
<Select thin secondary on:change={e => linkedRows = [e.target.value]} name={label} {label}>
<option value="">Choose an option</option>
{#each rows as row}
<option selected={row._id === linkedRows[0]} value={row._id}>{getPrettyName(row)}</option>