lambertf917 / lambertf917/react-native-uber-eats-clone
Name Textbox in Profile Menu Accepts Spaces and Special Characters
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
The name textbox in the profile menu tab of the Enatega app/website is accepting spaces and special characters, which should not be allowed. The textbox should only accept valid characters, such as letters, and possibly specific symbols (e.g., apostrophes or hyphens).
To Reproduce
- Open the Enatega app/website.
- Go to the profile menu tab.
- Click to edit the name field (e.g., during profile update).
- In the name textbox, type a name with spaces or special characters (e.g., "@", "#", "!", etc.).
- Observe that the textbox allows spaces and special characters as valid input.
Expected behavior
- The name textbox should only accept valid characters such as alphabetic characters and, if necessary, a few special characters like apostrophes or hyphens.
- Special characters (e.g., "@", "#", "!", etc.) and extra spaces should be rejected, ensuring proper data input.
Actual Behavior
The name textbox in the profile menu accepts spaces and special characters, which could lead to invalid or inconsistent data in the profile.
Screenshots
https://github.com/user-attachments/assets/80492f02-544b-4c24-a5fb-cd60d8ea1eba
Smartphone (please complete the following information):
- Device: iPhone15pro
- OS: iOS17.6.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the profile menu implementation for the name textbox and reproduce the input problem on iOS and the website. Confirm the accepted character set with maintainers, then verify that disallowed symbols and extra spaces are rejected consistently on both platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- Half a day
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100