{label} {#if required}
*
{/if}
{#if showCustomInput}
e.key === 'Enter' && handleCustomSubmit()} />
Save
Cancel
{:else}
{#each options as option}
{option}
{/each} {#if allowCustom}
{isCustomValue ? `Custom: ${value}` : 'Custom...'}
{/if}
{/if}