{#if type === 'select'} {:else} 0} {checked} {type} {value} on:input={handleInput} on:change={handleInput} /> {/if}