Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gender field validation error when not selected in Edit User modal #10461

Closed
areebahmeddd opened this issue Feb 6, 2025 · 3 comments · Fixed by #10577 or #10614
Closed

Gender field validation error when not selected in Edit User modal #10461

areebahmeddd opened this issue Feb 6, 2025 · 3 comments · Fixed by #10577 or #10614
Assignees

Comments

@areebahmeddd
Copy link
Contributor

Describe the bug:

When editing a user profile, if the "Gender" field is not selected and the "Update User" button is clicked, an error message appears:
Invalid enum value. Expected 'male' | 'female' | 'transgender' | 'non_binary', received ''

To reproduce:

  1. Log in to the platform.
  2. Navigate to Edit Profile -> Edit User.
  3. Leave the "Gender" field unselected.
  4. Click the "Update User" button.
  5. Observe that an error message appears instead of prompting the user to select a valid option.

Expected behavior:

A user-friendly validation message should be displayed (e.g., "Please select a gender").

Screenshots:

Image
@tellmeY18 tellmeY18 moved this to Triage in Care Feb 6, 2025
@tellmeY18 tellmeY18 added this to Care Feb 6, 2025
@areebahmeddd
Copy link
Contributor Author

Hi team, can you confirm if this is a valid issue? I'll start working on this :)

@github-actions github-actions bot added needs-triage question Further information is requested labels Feb 6, 2025
@Jacobjeevan Jacobjeevan removed question Further information is requested needs-triage labels Feb 7, 2025
@tellmeY18 tellmeY18 moved this from Triage to In Progress in Care Feb 7, 2025
@AdityaJ2305
Copy link
Contributor

Hey Team, I would like to work on this issue already solved on my local

@areebahmeddd
Copy link
Contributor Author

I was working on another issue but have now started on this one. If there's no progress by tomorrow, feel free to raise your PR 👍🏻
@AdityaJ2305

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
3 participants