5sControl / 5sControl/5s-frontend

Edit name order: Gaps in field

Ouverte
#918 0 commentaires 0 réactions 1 personne assignée Réclamée par @ThanhDoIVan Voir sur GitHub
bug Front mobile
Langage dominant
TypeScript
Étoiles
3
Forks
1
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
react, typescript
Domaine
frontend
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.