gray-mueller / gray-mueller/full-stack-document-solution
Name Textbox in Profile Menu Accepts Spaces and Special Characters
- 主要语言
- TypeScript
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
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
贡献指南
调研方向
Start at the profile menu name field in the Enatega app/website and reproduce the input behavior described in the issue. Trace the field's validation entry point, establish which characters valid names may contain, and verify that special characters and extra spaces are rejected while valid names remain accepted.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100