fix: use template const for popover props with email input

This commit is contained in:
Torsten Dittmann committed 2024-03-01 02:33:35 +01:00
1 parent 7c4505fb19
commit 3fb99772b6
2 files changed
+2 -5

No files matched your search

@@ -11,10 +11,7 @@
{/each}
{#if image}
<ImagePreview
darkSrc={image.src.dark}
lightSrc={image.src.light}
alt={image.alt} />
<ImagePreview darkSrc={image.src.dark} lightSrc={image.src.light} alt={image.alt} />
{/if}
</div>
@@ -84,7 +84,7 @@
placeholder={input.placeholder}
required={!input.optional}
{popover}
popoverProps={getPopoverProps(input)}
{popoverProps}
bind:value={params[input.name]}>
</InputEmail>
{:else if input.type === 'domain'}