5sControl / 5sControl/5s-frontend

fix bug fields are empty after clicking button "cancel" in camera connection window

Abierto
#532 0 comentarios 0 reacciones 1 asignado Reclamado por @AlexGurski Ver en GitHub
bug
Lenguaje dominante
TypeScript
Estrellas
3
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Поля не заполняются прошлыми данными после клика "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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

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
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.