Description
The form the the user submits during their onboarding considers last name and major to be optional information, but the form the user submits to edit their settings considers them to be required.
Steps To Reproduce
- Create account. Do not input last name or major.
- Go to settings.
- Change first name to something else.
- Last name and major are now required to submit the form.
Additional Context
The problem is the .optional()s in formSchemas.ts
Version
dev.notebook.utdnebula.com
Environment
Browser: Safari
Operating System: Mac
Description
The form the the user submits during their onboarding considers last name and major to be optional information, but the form the user submits to edit their settings considers them to be required.
Steps To Reproduce
Additional Context
The problem is the .optional()s in formSchemas.ts
Version
dev.notebook.utdnebula.com
Environment
Browser: Safari
Operating System: Mac