adds thin prop to select component when adding new row
This commit is contained in:
parent
8cc35e3fc2
commit
fa1a2c58c5
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue