{#if !formContext} Form components need to be wrapped in a Form {:else if !fieldState} Add the Field setting to start using your component {:else if fieldSchema?.type && fieldSchema?.type !== type} This Field setting is the wrong data type for this component {:else} {#if $fieldState.error}
{$fieldState.error}
{/if} {/if}