File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
src/routes/(public)/(guest)/register Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 107
107
helper =" Password must be at least 8 characters long"
108
108
required
109
109
bind:value ={pass } />
110
- <InputChoice required value ={terms } id ="terms" label ="terms" showLabel ={false }>
110
+ <InputChoice required bind: value ={terms } id ="terms" label ="terms" showLabel ={false }>
111
111
By registering, you agree that you have read, understand, and acknowledge our <Link .Anchor
112
112
href =" https://appwrite.io/privacy"
113
113
target =" _blank"
119
119
target =" _blank"
120
120
rel =" noopener noreferrer" >General Terms of Use</Link .Anchor
121
121
>.</InputChoice >
122
- <Button fullWidth submit {disabled }>Sign up</Button >
122
+
123
+ <Button fullWidth submit disabled ={disabled || ! terms }>Sign up</Button >
124
+
123
125
{#if isCloud }
124
126
<span class =" with-separators eyebrow-heading-3" >or</span >
125
- <Button secondary fullWidth on:click ={onGithubLogin } {disabled }>
127
+ <Button
128
+ secondary
129
+ fullWidth
130
+ on:click ={onGithubLogin }
131
+ disabled ={disabled || ! terms }>
126
132
<span class =" icon-github" aria-hidden =" true" ></span >
127
133
<span class =" text" >Sign up with GitHub</span >
128
134
</Button >
You can’t perform that action at this time.
0 commit comments