Hi ! I want to add some fields to the sign up form...
# support-questions
p
Hi ! I want to add some fields to the sign up form but this error showed
r
hey @PPaii Can you show me the full init code>?
p
here
r
there seems to be issues with brackets.
p
But If I copy and paste the example, the error is still here
r
what is the import statement?
p
here
r
can you link the example for me?
Cause it should be:
Copy code
EmailPassword.init({
    signInAndUpFeature: {
        signUpForm: {
            formFields: [...]
        }
    }
})
oh right... u have imported supertokens from the node SDK
it should be imported from the supertokens-auth-react SDK
p
problem solved
Thanks!
3 Views