-
-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
As a user, I can register on the website to create an account. In the sign-up process, if I do not choose the Gender, the API responds with 400 (the response is: "{"success":false,"message":{"gender":["Gender is required"]}}") but the error is not handled on the client side.
In this scenario:
1- The user should be informed that choosing gender is mandatory
2- The client should not send the request to the server when the gender field is empty.
Screenshots
Any additional information?
Steps to reproduce:
1- Go to https://leetcode-journal.vercel.app/auth/register
2- Fill all the fields with valid inputs
3- Do not choose any "Gender"
4- Press the "Register" button.
What browser are you seeing the problem on?
Firefox, Chrome, Microsoft Edge
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

