{schema.label}
{#if selected.length > 0 && !inModal}
{:else}
{/if} {#if schema.type === "collection"}
{:else}
{#each records as record (record.id)}
selectRecord(e, record)} class="form-check-input " type="checkbox" checked={selected.find( (r) => r.id === record.id )} value={record} />
{record._file.path}
{record._file.mime}
{/each}
{/if}