5sControl / 5sControl/5s-frontend

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

Open Beginner friendly
#533 0 comments 0 reactions 1 assignee Claimed by @AlexGurski View on GitHub
bug
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Неверные названия полей в сообщении об ошибке в окне "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)

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.