{#if fieldState}
(open = true)}>
{fieldText}
{#if !$fieldState.valid}
{/if}
{#if open}
(open = false)} />
{#if placeholderOption}
onSelectOption(null)}>
{placeholderOption}
{/if} {#each options as option}
onSelectOption(getOptionValue(option))}>
{getOptionLabel(option)}
{/each}
{/if} {/if}