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

Profile Page: Form Rejects Names Under 3 Characters #1895

Open
markni opened this issue Oct 5, 2024 · 1 comment
Open

Profile Page: Form Rejects Names Under 3 Characters #1895

markni opened this issue Oct 5, 2024 · 1 comment
Assignees

Comments

@markni
Copy link

markni commented Oct 5, 2024

Description:

The form validation on profile page currently enforces a minimum of 3 characters for both the "First name" and "Last name" fields, which excludes many legitimate short names, such as "Xi," "Li," or "Jo." This restriction affects users with shorter names across various cultures.

chrome_2024-10-05_15-28-00

chrome_2024-10-05_15-37-54

Steps to Reproduce:

  1. Navigate to the JSFiddle profile page as a logged in user. (https://jsfiddle.net/user/settings/profile/)
  2. Enter a first name or last name with fewer than 3 characters (e.g., "Xi" or "Jo"), and press enter.
  3. Observe the error message.

Expected Behavior:

The form should accept both first and last names with 1 or 2 characters, as these are valid in many cultures.

Actual Behavior:

The form rejects first and last names shorter than 3 characters, displaying an error.

Additional Context:

Examples of Famous Individuals with Short First and Last Names:

  1. Xi Jinping – President of China (last name: Xi)
  2. Li Na – Chinese tennis champion (last name: Li)
  3. Bo Diddley – Legendary American musician and songwriter (first name: Bo)
  4. Jo Cox – British politician (first name: Jo)
  5. Yu Darvish – Japanese baseball player (first name: Yu)
@oskarkrawczyk oskarkrawczyk self-assigned this Nov 27, 2024
@oskarkrawczyk
Copy link
Member

Yep, I'll make the change soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants