show rules popup when accepting them on register
All checks were successful
delpoy / build-and-deploy (push) Successful in 43s
All checks were successful
delpoy / build-and-deploy (push) Successful in 43s
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
function input(e: Event & { currentTarget: EventTarget & HTMLInputElement }) {
|
||||
dispatch('input', e);
|
||||
}
|
||||
function click(e: Event) {
|
||||
dispatch('click', e);
|
||||
}
|
||||
|
||||
let initialType = type;
|
||||
|
||||
@@ -43,6 +46,7 @@
|
||||
bind:value
|
||||
bind:this={inputElement}
|
||||
on:input={input}
|
||||
on:click={click}
|
||||
/>
|
||||
{:else}
|
||||
<div>
|
||||
@@ -85,6 +89,7 @@
|
||||
value = e.target?.value;
|
||||
input(e);
|
||||
}}
|
||||
on:click={click}
|
||||
/>
|
||||
{#if initialType === 'password'}
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user