5sControl / 5sControl/5s-frontend
fix bug error messages in authorization form
- 主要言語
- TypeScript
- スター
- 3
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Сообщения об ошибке "Incorrect email or password. Please, try again." остаётся после очистки данных из полей "Email", "Password"
**Precondition:**
открыто приложение
**Environment:**
Chrome 114
Win 11
**STR:**
1. Ввести невалидные данные в поля "Email", "Password"
2. Кликнуть по кнопке "Log in"
3. Очистить поля "Email", "Password"
**ER:**
Сообщения об ошибке "Incorrect email or password. Please, try again." **_исчезает_** после очистки полей "Email", "Password"
**AR:**
Сообщения об ошибке "Incorrect email or password. Please, try again." **_не исчезает_** после очистки полей "Email", "Password"
**Attachments:**
https://drive.google.com/file/d/1XvBtBDhY6EvQ79P6EQBS0v0ZAr2Fzam2/view?usp=drive_link
コントリビューションガイド
調査の方向性
Look for the authorization form component, likely in a file like LoginForm.tsx or AuthForm.tsx. Find where the error message 'Incorrect email or password. Please, try again.' is displayed and managed in state. The bug is that clearing the email and password input fields does not clear this error message; check the state update logic tied to the input onChange or onClear events. Verify the fix by running the app and reproducing the steps: enter invalid data, click login, then clear fields to see the error disappear.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react, typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 45/100