5sControl / 5sControl/5s-frontend

Edit name order: Gaps in field

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

Descripción

Precondition:
Go to https://office.5scontrol.com\mobile
Login as admin

Description:
When creating an admin, you must assign "Workspace"

Step to reproduce:
1. Go to section "Заказы"
2. Go to tab "Не начат"
3. Choose any order
4. Click to icon "Edit order"
5. Enter the name of the order with spaces at the beginning and end of the line

Expected result:
Field is highlighted in red, appears tooltip "Недопустимые символы"

Actual result:
Order save

Attachment:
Image

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Look for the order editing form component and its validation logic, likely in a file like EditOrderForm.tsx or similar. Find where the order name input is handled and add trim validation or check for leading/trailing spaces. Test by reproducing the steps in the UI to ensure the 'Недопустимые символы' tooltip appears.

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.