{#if label.length}
{label}
{/if}
{#if icon.length > 0}
{/if}
0} class:bg-input-background-error={(error?.length ?? 0) > 0} class:text-gray-500={disabled} {disabled} {autocomplete} use:typeAction bind:value {onchange} {oninput} {onfocusin} {onfocusout} {placeholder} />
{#if error}
{error instanceof Array ? $_(error[0]) : error}
{/if}