adds thin prop to select component when adding new row
This commit is contained in:
parent
58dc12f95d
commit
5b5a5b5438
|
@ -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