gray-mueller / gray-mueller/food-delivery-platform-for-restaurants-using-python
Enatega Customer Application: App isn't allowing a one-letter first name during sign-up and change Validation message accordingly
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
App isn't allowing a one-letter first name during sign-up.
Consider special cases where a single letter might be valid (e.g., some East Asian names).
Also change Validation message accordingly, under the first name field if user enters a single letter its showing a validation message Invalid First Name ! which isn't relevant to the field.
Describe the solution you'd like
The app is designed to allow one-letter first names (some cultures do have single-letter names, initials, or mononyms).
The business logic intentionally permits it for inclusivity.
Contributor guide
Research direction
Locate the first-name validation used by sign-up and the change-profile flow, then read how the current minimum length and validation message are defined. Update the behavior so a one-letter first name is accepted and the message reflects the actual requirement. Verify both sign-up and name-change flows with one-letter and invalid inputs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100