5sControl / 5sControl/5s-frontend
fix bug messages about required fields don't appear at the same time
- Langage dominant
- TypeScript
- Étoiles
- 3
- Forks
- 1
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Сообщения об обязательности полей отображаются не одновременно при отправке пустой формы
**Environment:**
win 11
Chrome 114
**Precondition:**
пользователь авторизован
открыта форма редактирования компании на странице "Company"
форма редактирования компании пустая
**STR:**
1. Кликнуть по кнопке "Save"
**ER:**
Сообщения "Name field is required", "Email field is required" появляются одновременно
**AR:**
Сообщения "Name field is required" появляется при пустой форме или при заполнении поля почты, "Email field is required" появляется при заполненном поле "Name", под полем почты сообщение об ошибке "Name field is required"
**Attachments:**
https://drive.google.com/file/d/1zfgI7eKJHa01b0rAnZ4g2b8zQFrZQMMe/view?usp=drive_link
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Look at the company edit form on the 'Company' page, likely in a components directory. The validation logic for required fields (Name and Email) is triggering messages incorrectly. Check the form's validation state and error display logic. Run the app locally to reproduce the issue from the steps, then ensure both required messages appear simultaneously on form submission.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- react, typescript
- Domaine
- frontend, testing
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 55/100