5sControl / 5sControl/5s-frontend
fix bug error messages in authorization form
- Lenguaje dominante
- TypeScript
- Estrellas
- 3
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Сообщения об ошибке "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
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- react, typescript
- Área
- frontend
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 45/100