pasteAction(ev)} on:dragover|preventDefault={() => {}} on:dragleave={() => {}} on:drop|preventDefault|stopPropagation={(ev) => { fileDrop(ev) }} >
{ attach() }} />
{#if attachments.size && enableAttachments}
{#each Array.from(attachments.values()) as attachment, index}
{#if useAttachmentPreview} (attachmentPopupId = res.detail)} /> {:else} { if (result !== undefined) removeAttachment(attachment) }} /> {/if}
{/each}
{/if}