5sControl / 5sControl/5s-frontend
Edit name order: Gaps in field
- Lingua principale
- TypeScript
- Stelle
- 3
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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:
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
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