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 58dc12f95d
commit 5b5a5b5438
1 changed files with 1 additions and 1 deletions

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>