{schema.label}

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