agb check state
This commit is contained in:
parent
c3248099c6
commit
828cc0547e
@ -56,6 +56,7 @@
|
||||
|
||||
type StepType = (typeof Steps)[keyof typeof Steps];
|
||||
let currentStep = $state<StepType>(Steps.WELCOME);
|
||||
let agbAgreed = $state<boolean>(false);
|
||||
let email = $state<string>("");
|
||||
let firstname = $state<string>("");
|
||||
let lastname = $state<string>("");
|
||||
@ -188,7 +189,7 @@
|
||||
By registering, you confirm that {email} is your email
|
||||
{/if}
|
||||
<div class="items-top flex space-x-2">
|
||||
<Checkbox autofocus id="terms1" />
|
||||
<Checkbox bind:checked={agbAgreed} autofocus id="terms1" />
|
||||
<div class="grid gap-1.5 leading-none">
|
||||
<Label
|
||||
for="terms1"
|
||||
@ -202,6 +203,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<Button
|
||||
disabled={!agbAgreed}
|
||||
variant="default"
|
||||
class="w-full"
|
||||
on:click={() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user