mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2024-12-22 08:16:28 +00:00
also disable icon in text
This commit is contained in:
parent
3247a0cfca
commit
4960260076
@ -39,13 +39,23 @@
|
|||||||
<input bind:value {...$$restProps} class:valid={valid === true} />
|
<input bind:value {...$$restProps} class:valid={valid === true} />
|
||||||
<div class="icons">
|
<div class="icons">
|
||||||
{#if isPassword}
|
{#if isPassword}
|
||||||
<Icon class="icon" icon={hidden ? 'eye' : 'eye-off'} on:click={toggle} />
|
<Icon
|
||||||
|
disabled={$$restProps.disabled}
|
||||||
|
class="icon"
|
||||||
|
icon={hidden ? 'eye' : 'eye-off'}
|
||||||
|
on:click={toggle}
|
||||||
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
{#if random}
|
{#if random}
|
||||||
<Icon class="icon" icon="dice" on:click={randomFN} />
|
<Icon disabled={$$restProps.disabled} class="icon" icon="dice" on:click={randomFN} />
|
||||||
{/if}
|
{/if}
|
||||||
{#if copy}
|
{#if copy}
|
||||||
<Icon class="icon" icon="copy" on:click={() => copyFN(value.toString())} />
|
<Icon
|
||||||
|
disabled={$$restProps.disabled}
|
||||||
|
class="icon"
|
||||||
|
icon="copy"
|
||||||
|
on:click={() => copyFN(value.toString())}
|
||||||
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</label>
|
</label>
|
||||||
|
Loading…
Reference in New Issue
Block a user