Collection
5} selectPlaceholder={"Select collection"} noOptionsText="No collections found" selectionKey="id" items={$collections} bind:keyOfSelected={options.collectionId} >
upsertPanel?.show()} >
New collection
Relation type
{#if !isSingle}
Min select
Max select
{/if}
Display fields
Delete main record on relation delete
{ if (e?.detail?.collection?.id) { options.collectionId = e.detail.collection.id; } }} />