marthaegrimaldi / marthaegrimaldi/zomato-clone-app-source-code

Name Textbox in Profile Menu Accepts Spaces and Special Characters

Open
#119 0 comments 0 reactions 0 assignees View on GitHub
bug Enatega Multivendor Customer App good first issue
Dominant language
JavaScript
Stars
5
Forks
8
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**

1. Open the Enatega app/website.
2. Go to the profile menu tab.
3. Click to edit the name field (e.g., during profile update).
4. In the name textbox, type a name with spaces or special characters (e.g., "@", "#", "!", etc.).
5. Observe that the textbox allows spaces and special characters as valid input.

**Expected behavior**

1. The name textbox should only accept valid characters such as alphabetic characters and, if necessary, a few special characters like apostrophes or hyphens.
2. 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](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

Open the contributing guide

Research direction

Start by reproducing the issue in the Enatega app or website: open the profile menu, edit the name field, and try spaces and characters such as @, #, and !. Locate the profile update form and its name validation; done means invalid characters and extra spaces are rejected while alphabetic names, and any explicitly supported apostrophes or hyphens, remain accepted.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.