5sControl / 5sControl/5s-frontend
fix bug error messages in authorization form
- Langage dominant
- TypeScript
- Étoiles
- 3
- Forks
- 1
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Сообщения об ошибке "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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- react, typescript
- Domaine
- frontend
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 45/100