marcoeg
WWasp
•Created by marcoeg on 2/2/2025 in #đŸ™‹questions
signup() not accepting custom fields in Typescript
I am having hard time to successfully write a custom signup page in Typescript. I followed the details on the Customizing the Signup Process and the Defining Extra Fields documents.
I have defined my own custom component for the signup form, defined the userSignupFields object, all as described. However, unlike the example provided when I try to call the signup() function with any additional fields other than email and password, for instance firstName, I get the error:
If I bypass type checking, I don't get the error but the additional field is not stored in the database:
Please advise.
11 replies