Closed dilankavishka closed 1 month ago
Hey buddy🙌
Seems like interesting to work on. One more thing, do you also want the contact number to have specific digits or 10 only..
@shiv-0101 it's not necessary to restrict it to a specific number of digits since our mentors come from various countries with different number formats. So, as long as we validate for numeric input, that should be sufficient.
Hey Buddy
Is there anything else that need correction apart from step 1's contact no. validation issue?
@shiv-0101 if you've done this part, you can make the PR. and you can get try to fix another issue that we've created.
Not merged yet!! all good?
The contact number field in the "Become a Mentor" form allows users to enter strings or non-numeric input, and the form proceeds to the next step without validation. The form should not proceed unless a valid contact number is entered.
Describe the bug The contact number field does not validate input properly. It accepts strings or any unfair input, allowing the user to go to the next step without proper validation.
To Reproduce Steps to reproduce the behavior:
Expected behavior The form should prevent the user from moving to the next step until the contact number is valid (i.e., contains only numbers).
Screenshots
Are you working on it? Yes/No