fix: use template const for popover props with email input

This commit is contained in:
Torsten Dittmann
2024-03-01 02:33:35 +01:00
parent 7c4505fb19
commit 3fb99772b6
2 changed files with 2 additions and 5 deletions
@@ -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'}