5sControl / 5sControl/5s-frontend

fix bug wrong names of the fields in "adding account" window

未关闭 适合新手
#533 0 条评论 0 个 reaction 已指派 1 人 已被 @AlexGurski 认领 在 GitHub 查看
bug
主要语言
TypeScript
星标
3
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

Неверные названия полей в сообщении об ошибке в окне "adding account" страницы "Company"

**Precondition**
пользователь авторизован
камера авторизована
открыта страница "Company"

**Environment:**
win 11
CHrom 114

**STR:**

1. Кликнуть по кнопке "Add account"
2. Кликнуть по кнопке "Done" (поля незаполнены)
**ER:**
Текст сообщения "Email, Password and Role are required"
**AR:**
Текст сообщения "User Type, Username, and Password are required"

**Attachments:**

![Image](https://github.com/5sControl/django-front/assets/122295113/cc687b5c-41ca-4073-9f8e-cfd1b5ac00c9)

贡献指南

打开贡献指南

调研方向

Find the 'Add account' component in the Company page. Look for the error message text 'User Type, Username, and Password are required' and replace it with 'Email, Password and Role are required'. Check the form validation logic to ensure the fields match the new labels. Test by submitting the empty form and verifying the updated error appears.

由索引模型根据 Issue 内容生成。

评估

技术栈
react, typescript
领域
frontend
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
65/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。