5sControl / 5sControl/5s-frontend
fix bug fields are empty after clicking button "cancel" in camera connection window
- Lingua principale
- TypeScript
- Stelle
- 3
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Поля не заполняются прошлыми данными после клика "Cancel"
**Precondition**
пользователь авторизован
камера авторизована
открыта страница "Configuration"
**Environment:**
win 11
CHrom 114
**STR:**
1. Кликнуть по камере
2. Кликнуть по кнопке "Edit" в окне "Camera Settings"
3. Очистить данные в полях "Username", "Password" "Camera connection"
4. Кликнуть по кнопке "Cancel"
5. Кликнуть по кнопке "Edit" в окне "Camera Settings"
**ER:**
Поля "Username", "Paassword" заполнены предыдущими данными, которые были стерты
**AR:**
Поля "Username", "Paassword" пустые
**Attachments:**
https://drive.google.com/file/d/1xT2ObDt7pEV6l7jQ5IF7zOu6KDxckk_K/view?usp=drive_link
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Look for the camera connection window component, likely in a file like CameraSettings.tsx or similar. Find the edit form and the cancel button handler. The bug is that the form state is not being reset to the previous values on cancel. Check how the form data is managed (state, props, context) and ensure the cancel action reverts changes. Verify by testing the UI flow described.
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