5sControl / 5sControl/5s-frontend

[1h]The Save button is active when creating and editing a directory with empty or unchanged fields

Aperta
#934 0 commenti 0 reazioni 1 assegnatario Rivendicata da @kirilbaskakov Vedi su GitHub
bug ESMIL Front QA done Stage ready v. 0.8.1
Lingua principale
TypeScript
Stelle
3
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Device: Samsung Galaxy S20+
OS: Android 13
Browser: Google Chrome
Version: 131.0.6778.260

Precondition:
войти в систему как администратор

Steps to reproduce:
1. Нажать Настройка данных
2. Нажать Универсальные справочники
3. Нажать на кнопку добавления нового каталога
4. Нажать кнопку Сохранить
5. Нажать кнопку Сохранить в диалоговом окне
6. Нажать на любой каталог
7. Нажать кнопку редактирования
8. Нажать кнопку Сохранить
9. Нажать кнопку Сохранить в диалоговом окне

Actual result:
кнопка Сохранить всегда активна
Expected result:
кнопка Сохранить по умолчанию неактивна, становится активной только при изменении данных в поле ввода

Attachments:

https://github.com/user-attachments/assets/2b57dc6c-de79-41bf-84c0-3168d0ad1601

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

The issue describes a UI bug where a Save button is incorrectly enabled for empty/unchanged form fields in a directory creation/edit dialog. Look for the component handling universal directories or data settings, likely in a form component. Check the button's disabled state logic and form validation. The linked pull request #972 may show the fix location. Verify the fix by testing the form's behavior after changes.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.