dispatch("change", value)} on:keydown={({ key }) => (key === " " || key === "Enter") && dispatch("change", value)} {disabled} class:disabled={disabled && !value} />