{#if fieldState} {#if !optionsType || optionsType === "select"} x : x => x.label} getOptionValue={flatOptions ? x => x : x => x.value} {autocomplete} {sort} /> {:else if optionsType === "radio"} x : x => x.label} getOptionTitle={flatOptions ? x => x : x => x.label} getOptionValue={flatOptions ? x => x : x => x.value} {sort} /> {/if} {/if}